03-16-2023, 05:42 AM
#define ANALOG_A1 GPIO36
#define ANALOG_A2 GPIO39
#define ANALOG_A3 GPIO34
#define ANALOG_A4 GPIO35
Ethernet (LAN8720) I/O define:
#define ETH_ADDR 0
#define ETH_POWER_PIN -1
#define ETH_MDC_PIN 23
#define ETH_MDIO_PIN 18
#define ETH_TYPE ETH_PHY_LAN8720
#define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT
RS485:
RXD:GPIO13
TXD:GPIO14
74HC595 for output:
Data: GPIO5
Clock:GPIO16
Latch:GPIO4
74HC165 for input:
Data: GPIO15
Clock: GPIO32
LD(load_pin): GPIO33
#define ANALOG_A2 GPIO39
#define ANALOG_A3 GPIO34
#define ANALOG_A4 GPIO35
Ethernet (LAN8720) I/O define:
#define ETH_ADDR 0
#define ETH_POWER_PIN -1
#define ETH_MDC_PIN 23
#define ETH_MDIO_PIN 18
#define ETH_TYPE ETH_PHY_LAN8720
#define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT
RS485:
RXD:GPIO13
TXD:GPIO14
74HC595 for output:
Data: GPIO5
Clock:GPIO16
Latch:GPIO4
74HC165 for input:
Data: GPIO15
Clock: GPIO32
LD(load_pin): GPIO33