From c28022573866982b9417aed315a0ee3c6834e778 Mon Sep 17 00:00:00 2001 From: "Limor \"Ladyada\" Fried" Date: Mon, 28 Feb 2022 07:31:00 -0500 Subject: [PATCH] fix final rev pins (#6353) fix uarts Co-authored-by: ladyada --- boards.txt | 2 +- variants/adafruit_feather_esp32_v2/pins_arduino.h | 9 +++++---- variants/adafruit_qtpy_esp32/pins_arduino.h | 10 +++++----- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/boards.txt b/boards.txt index 34b9329e4..06a48db0f 100755 --- a/boards.txt +++ b/boards.txt @@ -5500,7 +5500,7 @@ adafruit_qtpy_esp32c3.menu.DebugLevel.verbose=Verbose adafruit_qtpy_esp32c3.menu.DebugLevel.verbose.build.code_debug=5 -adafruit_qtpy_esp32_pico.name=Adafruit QT Py ESP32 Pico +adafruit_qtpy_esp32_pico.name=Adafruit QT Py ESP32 adafruit_qtpy_esp32_pico.upload.tool=esptool_py adafruit_qtpy_esp32_pico.upload.maximum_size=1310720 diff --git a/variants/adafruit_feather_esp32_v2/pins_arduino.h b/variants/adafruit_feather_esp32_v2/pins_arduino.h index 71ddaa9f3..f984baf5a 100644 --- a/variants/adafruit_feather_esp32_v2/pins_arduino.h +++ b/variants/adafruit_feather_esp32_v2/pins_arduino.h @@ -15,10 +15,10 @@ static const uint8_t LED_BUILTIN = 13; #define BUILTIN_LED LED_BUILTIN // backward compatibility #define LED_BUILTIN LED_BUILTIN -static const uint8_t TX = 7; -static const uint8_t RX = 8; -static const uint8_t TX1 = 7; -static const uint8_t RX1 = 8; +static const uint8_t TX = 8; +static const uint8_t RX = 7; +static const uint8_t TX1 = 8; +static const uint8_t RX1 = 7; static const uint8_t SDA = 22; static const uint8_t SCL = 20; @@ -52,6 +52,7 @@ static const uint8_t BUTTON = 38; // Neopixel static const uint8_t NEOPIXEL_PIN = 0; +static const uint8_t PIN_NEOPIXEL = 0; // Neopixel & I2C power static const uint8_t NEOPIXEL_I2C_POWER = 2; diff --git a/variants/adafruit_qtpy_esp32/pins_arduino.h b/variants/adafruit_qtpy_esp32/pins_arduino.h index f2aeb01aa..cfd3af3a1 100644 --- a/variants/adafruit_qtpy_esp32/pins_arduino.h +++ b/variants/adafruit_qtpy_esp32/pins_arduino.h @@ -20,7 +20,7 @@ static const uint8_t RX = 7; #define TX1 32 #define RX1 7 -static const uint8_t SDA = 25; +static const uint8_t SDA = 4; static const uint8_t SCL = 33; static const uint8_t SDA1 = 22; @@ -31,11 +31,11 @@ static const uint8_t MOSI = 13; static const uint8_t MISO = 12; static const uint8_t SCK = 14; -static const uint8_t A0 = 15; -static const uint8_t A1 = 4; +static const uint8_t A0 = 26; +static const uint8_t A1 = 25; static const uint8_t A2 = 27; -static const uint8_t A3 = 26; -static const uint8_t A4 = 25; +static const uint8_t A3 = 15; +static const uint8_t A4 = 4; static const uint8_t A5 = 33; static const uint8_t A6 = 32; static const uint8_t A7 = 7; -- GitLab