|
56 | 56 | #define WF4_X4_CS_PIN WF4_X3_CS_PIN // CS gpio must be set HIGH to enable X4 output
|
57 | 57 |
|
58 | 58 | // P1 is a UART connector
|
59 |
| -#define WF4_P1_RX_PIN 44 |
60 |
| -#define WF4_P1_TX_PIN 43 |
| 59 | +#define WF4_P1_RX_PIN 44 |
| 60 | +#define WF4_P1_TX_PIN 43 |
61 | 61 |
|
62 | 62 | // P2: PCB holes gpio/gnd
|
63 |
| -#define WF4_P2_DATA_PIN 0 // GPIO0 boot |
| 63 | +#define WF4_P2_DATA_PIN 0 // GPIO0 boot |
64 | 64 |
|
65 | 65 | // P5: temperature sensor connector
|
66 |
| -#define WF4_P5_DATA_PIN 16 |
| 66 | +#define WF4_P5_DATA_PIN 16 |
67 | 67 |
|
68 | 68 | // P7: VCC/GPIO holes on PCB
|
69 |
| -#define WF4_P7_DATA_PIN 1 |
| 69 | +#define WF4_P7_DATA_PIN 1 |
70 | 70 |
|
71 | 71 | // P11: IR connector
|
72 |
| -#define WF4_P11_DATA_PIN 15 |
| 72 | +#define WF4_P11_DATA_PIN 15 |
73 | 73 |
|
74 | 74 | // P12: two gpio's, Vcc, GND
|
75 | 75 | #define WF4_P12_DATA1_PIN 47
|
76 | 76 | #define WF4_P12_DATA2_PIN 18
|
77 | 77 |
|
78 | 78 | // S1 Button
|
79 |
| -#define WF4_S1_DATA_PIN 17 |
| 79 | +#define WF4_S1_DATA_PIN 17 |
80 | 80 |
|
81 | 81 | // S2-S3 PCB holes
|
82 |
| -#define WF4_S2_DATA_PIN 48 |
83 |
| -#define WF4_S3_DATA_PIN 26 |
84 |
| -#define WF4_S4_DATA_PIN 46 |
| 82 | +#define WF4_S2_DATA_PIN 48 |
| 83 | +#define WF4_S3_DATA_PIN 26 |
| 84 | +#define WF4_S4_DATA_PIN 46 |
85 | 85 |
|
86 | 86 | #define WF4_BUTTON_TEST WF4_S1_PIN // Test key button on PCB, 1=normal, 0=pressed
|
87 | 87 | #define WF4_LED_RUN_PIN 40 // Status LED on PCB
|
88 | 88 | #define WF4_BM8563_I2C_SDA 41 // RTC BM8563 I2C port
|
89 | 89 | #define WF4_BM8563_I2C_SCL 42
|
90 |
| -#define WF4_USB_DN_PIN 19 // USB-A D- |
91 |
| -#define WF4_USB_DP_PIN 20 // USB-A D+ |
| 90 | +#define WF4_USB_DN_PIN 19 // USB-A D- |
| 91 | +#define WF4_USB_DP_PIN 20 // USB-A D+ |
92 | 92 |
|
93 | 93 | #define LED_BUILTIN WF4_LED_RUN_PIN
|
94 | 94 | #define BUILTIN_LED LED_BUILTIN // backward compatibility
|
|
0 commit comments