mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 05:07:07 +00:00
57 lines
1.4 KiB
C
57 lines
1.4 KiB
C
/*
|
|
|
|
ESP32-C3 Breadboard adapter GPIO Pinouts.
|
|
|
|
GPIO Physical Pin
|
|
--------------------
|
|
EN 1
|
|
IO4 2
|
|
IO5 3
|
|
IO6 4
|
|
IO8 5
|
|
IO7 6
|
|
IO10 10
|
|
IO9 8
|
|
IO19 9 USB D+
|
|
IO18 11 USB D-
|
|
RxD 10
|
|
TxD 12
|
|
IO3 13
|
|
IO2 14
|
|
IO1 15
|
|
IO0 16
|
|
|
|
*/
|
|
|
|
/*
|
|
#define GPIO_EN 1
|
|
#define GPIO0 16
|
|
#define GPIO1 15
|
|
#define GPIO2 14
|
|
#define GPIO3 13
|
|
#define GPIO4 2
|
|
#define GPIO5 3
|
|
#define GPIO6 4
|
|
#define GPIO7 6
|
|
#define GPIO8 5
|
|
#define GPIO9 8
|
|
#define GPIO10 10
|
|
#define GPIO18 11
|
|
#define GPIO19 9
|
|
*/
|
|
|
|
#define PIN1 GPIO_EN // ????? 1
|
|
#define PIN16 GPIO_NUM_0 // GPIO0 16
|
|
#define PIN15 GPIO_NUM_1 // GPIO1 15
|
|
#define PIN14 GPIO_NUM_2 // GPIO2 14
|
|
#define PIN13 GPIO_NUM_3 // GPIO3 13
|
|
#define PIN2 GPIO_NUM_4 // GPIO4 2
|
|
#define PIN3 GPIO_NUM_5 // GPIO5 3
|
|
#define PIN4 GPIO_NUM_6 // GPIO6 4
|
|
#define PIN6 GPIO_NUM_7 // GPIO7 6
|
|
#define PIN5 GPIO_NUM_8 // GPIO8 5
|
|
#define PIN8 GPIO_NUM_9 // GPIO9 8
|
|
#define PIN10 GPIO_NUM_10 // GPIO10 10
|
|
#define PIN11 GPIO_NUM_18 // GPIO18 11
|
|
#define PIN9 GPIO_NUM_19 // GPIO19 9
|