mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Boards: Adafruit QT Py ESP32 Pico/C3/S2 (#4064)
This commit is contained in:
parent
20da03f8c6
commit
8975b4b3f6
1 changed files with 58 additions and 0 deletions
|
@ -42,6 +42,64 @@ ESP32_BASE_PINS = {
|
|||
}
|
||||
|
||||
ESP32_BOARD_PINS = {
|
||||
"adafruit_qtpy_esp32c3": {
|
||||
"A0": 4,
|
||||
"A1": 3,
|
||||
"A2": 1,
|
||||
"A3": 0,
|
||||
"SDA": 5,
|
||||
"SCL": 6,
|
||||
"MOSI": 7,
|
||||
"MISO": 8,
|
||||
"SCK": 10,
|
||||
"RX": 20,
|
||||
"TX": 21,
|
||||
"NEOPIXEL": 2,
|
||||
"PIN_NEOPIXEL": 2,
|
||||
"BUTTON": 9,
|
||||
"SWITCH": 9,
|
||||
},
|
||||
"adafruit_qtpy_esp32s2": {
|
||||
"A0": 18,
|
||||
"A1": 17,
|
||||
"A2": 9,
|
||||
"A3": 8,
|
||||
"SDA": 7,
|
||||
"SCL": 6,
|
||||
"MOSI": 35,
|
||||
"MISO": 37,
|
||||
"SCK": 36,
|
||||
"RX": 16,
|
||||
"TX": 5,
|
||||
"SDA1": 41,
|
||||
"SCL1": 40,
|
||||
"NEOPIXEL": 39,
|
||||
"PIN_NEOPIXEL": 39,
|
||||
"NEOPIXEL_POWER": 38,
|
||||
"D0": 0,
|
||||
"BUTTON": 0,
|
||||
"SWITCH": 0,
|
||||
},
|
||||
"adafruit_qtpy_esp32": {
|
||||
"A0": 26,
|
||||
"A1": 25,
|
||||
"A2": 27,
|
||||
"A3": 15,
|
||||
"SDA": 4,
|
||||
"SCL": 33,
|
||||
"MOSI": 13,
|
||||
"MISO": 12,
|
||||
"SCK": 14,
|
||||
"RX": 7,
|
||||
"TX": 32,
|
||||
"SDA1": 22,
|
||||
"SCL1": 19,
|
||||
"NEOPIXEL": 5,
|
||||
"PIN_NEOPIXEL": 5,
|
||||
"NEOPIXEL_POWER": 8,
|
||||
"BUTTON": 0,
|
||||
"SWITCH": 0,
|
||||
},
|
||||
"alksesp32": {
|
||||
"A0": 32,
|
||||
"A1": 33,
|
||||
|
|
Loading…
Reference in a new issue