- Notifications
You must be signed in to change notification settings - Fork 7.6k
/
Copy pathpins_arduino.h
45 lines (35 loc) · 1.03 KB
/
pins_arduino.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndefPins_Arduino_h
#definePins_Arduino_h
#include<stdint.h>
staticconstuint8_tLED_BUILTIN=18;
#defineBUILTIN_LED LED_BUILTIN // backward compatibility
#defineLED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
#defineTX1 12
#defineRX1 13
#defineTX2 33
#defineRX2 39
staticconstuint8_tTX=1;
staticconstuint8_tRX=3;
staticconstuint8_tSCL=4;
staticconstuint8_tSDA=15;
staticconstuint8_tSS=5;
staticconstuint8_tMOSI=23;
staticconstuint8_tMISO=32;
staticconstuint8_tSCK=18;
staticconstuint8_tA0=36;
staticconstuint8_tA3=39;
staticconstuint8_tA4=32;
staticconstuint8_tA5=33;
staticconstuint8_tA6=34;
staticconstuint8_tA7=35;
staticconstuint8_tT0=4;
staticconstuint8_tT2=2;
staticconstuint8_tT8=33;
staticconstuint8_tT9=32;
#defineETH_PHY_ADDR 0
#defineETH_PHY_POWER -1
#defineETH_PHY_MDC 16
#defineETH_PHY_MDIO 14
#defineETH_PHY_TYPE ETH_PHY_LAN8720
#defineETH_CLK_MODE ETH_CLOCK_GPIO17_OUT
#endif/* Pins_Arduino_h */