diff --git a/platformio.ini b/platformio.ini index a8788d1..e461a91 100644 --- a/platformio.ini +++ b/platformio.ini @@ -55,19 +55,19 @@ build_flags = -DRADIOLIB_EXCLUDE_APRS=1 -DRADIOLIB_EXCLUDE_LORAWAN=1 -I variants/${PIOENV} -lib_deps = - jgromes/RadioLib @ 6.6.0 - mikalhart/TinyGPSPlus @ 1.0.3 - bblanchon/ArduinoJson @ 6.21.3 +lib_deps = adafruit/Adafruit Unified Sensor @ 1.1.14 adafruit/Adafruit BME280 Library @ 2.2.4 adafruit/Adafruit BMP280 Library @ 2.6.8 adafruit/Adafruit BME680 Library @ 2.0.4 adafruit/Adafruit Si7021 Library @ 1.5.3 + arduino-libraries/NTPClient @ 3.2.1 ayushsharma82/ElegantOTA @ 3.1.5 - mathieucarbou/ESPAsyncWebServer @ 3.2.3 + bblanchon/ArduinoJson @ 6.21.3 + jgromes/RadioLib @ 6.6.0 mathieucarbou/AsyncTCP @ 3.2.5 - arduino-libraries/NTPClient @ 3.2.1 + mathieucarbou/ESPAsyncWebServer @ 3.2.3 + mikalhart/TinyGPSPlus @ 1.0.3 display_libs = adafruit/Adafruit GFX Library @ 1.11.9 adafruit/Adafruit SSD1306 @ 2.5.10 diff --git a/src/boards_pinout.h b/src/boards_pinout.h deleted file mode 100644 index c2a23ee..0000000 --- a/src/boards_pinout.h +++ /dev/null @@ -1,320 +0,0 @@ -#ifndef PINS_CONFIG_H_ -#define PINS_CONFIG_H_ - -#include - -#undef OLED_SDA -#undef OLED_SCL -#undef OLED_RST - - -// LORA MODULES -#if defined(TTGO_LORA32_V2_1) || defined(HELTEC_V2) || defined(ESP32_DIY_LoRa) || defined(TTGO_T_BEAM_V1_2) || defined(TTGO_T_BEAM_V1_0) || defined(TTGO_LORA32_V2_1_915) || defined(ESP32_DIY_LoRa_915) || defined(TTGO_T_BEAM_V1_2_915) || defined(TTGO_T_BEAM_V1_0_915) - #define RADIO_SCLK_PIN 5 // GPIO5 - SX1278 SCK - #define RADIO_MISO_PIN 19 // GPIO19 - SX1278 MISO - #define RADIO_MOSI_PIN 27 // GPIO27 - SX1278 MOSI - #define RADIO_CS_PIN 18 // GPIO18 - SX1278 CS ---> NSS - #define RADIO_RST_PIN 14 // GPIO14 - SX1278 RST - #define RADIO_BUSY_PIN 26 // GPIO26 - SX1278 IRQ ---->DIO0 -#endif - -#if defined(HELTEC_V3) || defined(HELTEC_WSL_V3) || defined(HELTEC_WSL_V3_DISPLAY) || defined(HELTEC_WIRELESS_TRACKER) || defined(HELTEC_WS) || defined(HELTEC_WP) - #define RADIO_SCLK_PIN 9 // SX1262 SCK - #define RADIO_MISO_PIN 11 // SX1262 MISO - #define RADIO_MOSI_PIN 10 // SX1262 MOSI - #define RADIO_CS_PIN 8 // SX1262 NSS - #define RADIO_RST_PIN 12 // SX1262 RST - #define RADIO_DIO1_PIN 14 // SX1262 DIO1 - #define RADIO_BUSY_PIN 13 // SX1262 BUSY -#endif - -#if defined(ESP32_DIY_1W_LoRa) || defined(ESP32_DIY_1W_LoRa_915) || defined(ESP32_DIY_1W_LoRa_LLCC68) // Ebyte E22 400M30S (SX1268) or E22 900M30S (SX1262) or E220 LLCC68 - #define RADIO_SCLK_PIN 18 - #define RADIO_MISO_PIN 19 - #define RADIO_MOSI_PIN 23 - #define RADIO_CS_PIN 5 - #define RADIO_RST_PIN 27 - #define RADIO_DIO1_PIN 12 - #define RADIO_BUSY_PIN 14 - #define RADIO_RXEN 32 - #define RADIO_TXEN 25 -#endif - -#if defined(ESP32_DIY_1W_LoRa_Mesh_V1_2) // https://github.com/NanoVHF/Meshtastic-DIY/tree/main/PCB/ESP-32-devkit_EBYTE-E22/Mesh-v1.02-2LCD-FreePins - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 19 - #define RADIO_MOSI_PIN 27 - #define RADIO_CS_PIN 18 - #define RADIO_RST_PIN 23 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 32 - #define RADIO_RXEN 14 - #define RADIO_TXEN 13 -#endif - -#ifdef WEMOS_LOLIN32_OLED_DIY_LoRa - #define RADIO_SCLK_PIN 15 - #define RADIO_MISO_PIN 13 - #define RADIO_MOSI_PIN 12 - #define RADIO_CS_PIN 14 - #define RADIO_RST_PIN 2 - #define RADIO_BUSY_PIN 25 -#endif - -#if defined(TTGO_T_BEAM_V1_0_SX1268) || defined(TTGO_T_BEAM_V1_2_SX1262) - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 19 - #define RADIO_MOSI_PIN 27 - #define RADIO_CS_PIN 18 - #define RADIO_DIO0_PIN 26 - #define RADIO_RST_PIN 23 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 32 -#endif - -#if defined(OE5HWN_MeshCom) - #define RADIO_SCLK_PIN 18 - #define RADIO_MISO_PIN 19 - #define RADIO_MOSI_PIN 23 - #define RADIO_CS_PIN 5 - #define RADIO_RST_PIN 27 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 26 - #define RADIO_RXEN 14 - #define RADIO_TXEN 13 -#endif - -#if defined(HELTEC_HTCT62) - #define RADIO_SCLK_PIN 10 // SX1262 SCK - #define RADIO_MISO_PIN 6 // SX1262 MISO - #define RADIO_MOSI_PIN 7 // SX1262 MOSI - #define RADIO_CS_PIN 8 // SX1262 NSS - #define RADIO_RST_PIN 5 // SX1262 RST - #define RADIO_DIO1_PIN 3 // SX1262 DIO1 - #define RADIO_BUSY_PIN 4 // SX1262 BUSY -#endif - -#if defined(ESP32_DIY_LoRa_A7670) || defined(ESP32_DIY_LoRa_A7670_915) - #define RADIO_SCLK_PIN 18 - #define RADIO_MISO_PIN 19 - #define RADIO_MOSI_PIN 23 - #define RADIO_CS_PIN 2 - #define RADIO_RST_PIN 0 - #define RADIO_BUSY_PIN 32 - #define A7670_PWR_PIN 4 - #define A7670_ResetPin 5 - #define A7670_TX_PIN 26 - #define A7670_RX_PIN 27 -#endif - -#ifdef WEMOS_D1_R32_RA02 - #define RADIO_SCLK_PIN 18 - #define RADIO_MISO_PIN 19 - #define RADIO_MOSI_PIN 23 - #define RADIO_CS_PIN 5 - #define RADIO_BUSY_PIN 12 - #define RADIO_RST_PIN 13 - #define RADIO_DIO1_PIN 14 - #define OLED_SDA 21 - #define OLED_SCL 22 - #define OLED_RST 36 -#endif - -#if defined(ESP32C3_DIY_1W_LoRa) || defined(ESP32C3_DIY_1W_LoRa_915) - #define RADIO_SCLK_PIN 8 - #define RADIO_MISO_PIN 9 - #define RADIO_MOSI_PIN 10 - #define RADIO_CS_PIN 5 - #define RADIO_RST_PIN 4 - #define RADIO_DIO1_PIN 2 - #define RADIO_BUSY_PIN 3 - #define RADIO_RXEN 6 - #define RADIO_TXEN 7 -#endif - -#ifdef WEMOS_S2_MINI_DIY_LoRa - #define RADIO_SCLK_PIN 36 - #define RADIO_MISO_PIN 37 - #define RADIO_MOSI_PIN 35 - #define RADIO_CS_PIN 34 - #define RADIO_BUSY_PIN 38 - #define RADIO_RST_PIN 33 -#endif - -#ifdef LIGHTGATEWAY_1_0 - #define RADIO_VCC_PIN 21 - #define RADIO_SCLK_PIN 12 - #define RADIO_MISO_PIN 13 - #define RADIO_MOSI_PIN 11 - #define RADIO_CS_PIN 10 - #define RADIO_RST_PIN 9 - #define RADIO_DIO1_PIN 5 - #define RADIO_BUSY_PIN 6 - #define RADIO_RXEN 42 - #define RADIO_TXEN 14 -#endif - - -// OLED -#if defined(TTGO_LORA32_V2_1) || defined(ESP32_DIY_LoRa) || defined(ESP32_DIY_1W_LoRa) || defined(TTGO_T_BEAM_V1_0) || defined(TTGO_T_BEAM_V1_2) || defined(TTGO_T_BEAM_V1_0_SX1268) || defined(TTGO_T_BEAM_V1_2_SX1262) || defined(OE5HWN_MeshCom) || defined(ESP32_DIY_LoRa_A7670) || defined(TTGO_LORA32_V2_1_915) || defined(ESP32_DIY_LoRa_915) || defined(TTGO_T_BEAM_V1_0_915) || defined(TTGO_T_BEAM_V1_2_915) || defined(ESP32_DIY_LoRa_A7670_915) || defined(ESP32_DIY_1W_LoRa_915) || defined(ESP32_DIY_1W_LoRa_LLCC68) || defined(ESP32_DIY_1W_LoRa_Mesh_V1_2) - #define OLED_SDA 21 - #define OLED_SCL 22 - #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) -#endif - -#if defined(HELTEC_V2) || defined(HELTEC_WS) - #define OLED_SDA 4 - #define OLED_SCL 15 - #define OLED_RST 16 -#endif - -#if defined(HELTEC_V3) - #define OLED_SDA 17 - #define OLED_SCL 18 - #define OLED_RST 21 -#endif - -#ifdef WEMOS_LOLIN32_OLED_DIY_LoRa - #define OLED_SDA 5 - #define OLED_SCL 4 - #define OLED_RST -1 -#endif - -#ifdef LIGHTGATEWAY_1_0 - #define OLED_SDA 3 - #define OLED_SCL 4 - #define OLED_RST -1 -#endif - - -#if !defined(HELTEC_HTCT62) && !defined(HELTEC_WSL_V3) && !defined(ESP32C3_DIY_1W_LoRa) && !defined(ESP32C3_DIY_1W_LoRa_915) && !defined(WEMOS_S2_MINI_DIY_LoRa) - #define HAS_DISPLAY -#endif - - -// Leds and other stuff -#ifdef HELTEC_HTCT62 - #define BATTERY_PIN 1 -#endif -#ifdef WEMOS_S2_MINI_DIY_LoRa - #define INTERNAL_LED_PIN 15 -#endif -#if defined(TTGO_LORA32_V2_1) || defined(TTGO_LORA32_V2_1_915) - #define INTERNAL_LED_PIN 25 // Green Led - #define BATTERY_PIN 35 -#endif -#if defined(HELTEC_V2) - #define INTERNAL_LED_PIN 25 - #define BATTERY_PIN 37 - #define ADC_CTRL 21 -#endif -#if defined(HELTEC_V3) || defined(HELTEC_WSL_V3) || defined(HELTEC_WSL_V3_DISPLAY) || defined(HELTEC_WS) - #define INTERNAL_LED_PIN 35 - #define BATTERY_PIN 1 - #define VEXT_CTRL 36 - #define ADC_CTRL 37 - #define BOARD_I2C_SDA 41 - #define BOARD_I2C_SCL 42 - #ifdef HELTEC_WSL_V3_DISPLAY - #define OLED_RST -1 - #endif -#endif - -#if defined(ESP32_DIY_LoRa) || defined(ESP32_DIY_LoRa_915) || defined(ESP32_DIY_1W_LoRa) || defined(ESP32_DIY_1W_LoRa_915) - #define INTERNAL_LED_PIN 2 -#endif -#if defined(ESP32_DIY_LoRa_A7670) || defined(ESP32_DIY_LoRa_A7670_915) - #define INTERNAL_LED_PIN 13 // 13 for V1.1 and 12 for V1.0 - #define BATTERY_PIN 35 -#endif - -#ifdef HELTEC_WIRELESS_TRACKER - #define INTERNAL_LED_PIN 18 - #define BATTERY_PIN 1 - #define ADC_CTRL 2 // HELTEC Wireless Tracker ADC_CTRL = HIGH powers the voltage divider to read BatteryPin. Only on V05 = V1.1 - #define VEXT_CTRL 3 // To turn on GPS and TFT - #define BOARD_I2C_SDA 7 - #define BOARD_I2C_SCL 6 -#endif - -#ifdef HELTEC_WP - #define INTERNAL_LED_PIN 18 - #define BATTERY_PIN 20 - #define ADC_CTRL 19 - #define VEXT_CTRL 45 - #define BOARD_I2C_SDA 37 - #define BOARD_I2C_SCL 36 - #define EPAPER_BUSY 7 - #define EPAPER_RST 6 - #define EPAPER_DC 5 - #define EPAPER_CS 4 - #define EPAPER_SCL 3 - #define EPAPER_SDA 2 -#endif - -#ifdef ESP32_C3_DIY_LoRa // just testing! - #define OLED_SDA 8 - #define OLED_SCL 9 - #define OLED_RST 10 - #define RADIO_SCLK_PIN 4 - #define RADIO_MISO_PIN 5 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS 7 - #define RADIO_RST_PIN 3 - #define RADIO_IRQ_PIN 2 -#endif - - - -#ifdef LIGHTGATEWAY_1_0 - #define BUTTON_PIN 0 - #define INTERNAL_LED_PIN 16 -#endif - - -// GPS -#if defined(TTGO_T_BEAM_V1_2) || defined(TTGO_T_BEAM_V1_2_915) || defined(TTGO_T_BEAM_V1_0) || defined(TTGO_T_BEAM_V1_0_915) || defined(TTGO_T_BEAM_V1_0_SX1268) || defined(TTGO_T_BEAM_V1_2_SX1262) - #define GPS_RX 12 - #define GPS_TX 34 -#endif - -#if defined( HELTEC_WIRELESS_TRACKER) - #define GPS_RX 34 - #define GPS_TX 33 -#endif - - -/* (Same pins for LILYGO LoRa32 and ESP32 Wroom Dev ) -SX1278-------------------> ESP32 ttgo-lora32-v21 and ESP32 WROOM Dev -GND GND -DIO1 - -DIO2 - -DIO3 - -VCC 3.3V -MISO 19 -MOSI 27 -SCLK 5 -NSS 18 -DIO0 26 -REST 14 -GND - */ - - -#ifdef TTGO_LORA32_T3S3_V1_2 - #define RADIO_SCLK_PIN 5 // SX1262 SCK - #define RADIO_MISO_PIN 3 // SX1262 MISO - #define RADIO_MOSI_PIN 6 // SX1262 MOSI - #define RADIO_CS_PIN 7 // SX1262 NSS - #define RADIO_RST_PIN 8 // SX1262 RST - #define RADIO_DIO1_PIN 33 // SX1262 DIO1 - #define RADIO_BUSY_PIN 34 // SX1262 BUSY - - #define OLED_SDA 18 - #define OLED_SCL 17 - #define OLED_RST -1 - - #define INTERNAL_LED_PIN 37 // Green Led - #define BATTERY_PIN 1 -#endif - -#endif \ No newline at end of file diff --git a/variants/ESP32_DIY_1W_LoRa_LLCC68/board_pinout.h b/variants/ESP32_DIY_1W_LoRa_LLCC68/board_pinout.h index 1d6d81a..3eeecbc 100644 --- a/variants/ESP32_DIY_1W_LoRa_LLCC68/board_pinout.h +++ b/variants/ESP32_DIY_1W_LoRa_LLCC68/board_pinout.h @@ -9,12 +9,10 @@ #undef OLED_SCL #undef OLED_RST - #define OLED_SDA 22 - #define OLED_SCL 21 + #define OLED_SDA 21 + #define OLED_SCL 22 #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) - #define INTERNAL_LED_PIN 2 - #define RADIO_SCLK_PIN 18 #define RADIO_MISO_PIN 19 #define RADIO_MOSI_PIN 23 diff --git a/variants/ESP32_DIY_1W_LoRa_Mesh_V1_2/board_pinout.h b/variants/ESP32_DIY_1W_LoRa_Mesh_V1_2/board_pinout.h index 076e6e3..47ba7e1 100644 --- a/variants/ESP32_DIY_1W_LoRa_Mesh_V1_2/board_pinout.h +++ b/variants/ESP32_DIY_1W_LoRa_Mesh_V1_2/board_pinout.h @@ -13,16 +13,13 @@ #define OLED_SCL 21 #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) - #define INTERNAL_LED_PIN 2 - - #define RADIO_SCLK_PIN 18 + #define RADIO_SCLK_PIN 5 // https://github.com/NanoVHF/Meshtastic-DIY/tree/main/PCB/ESP-32-devkit_EBYTE-E22/Mesh-v1.02-2LCD-FreePins #define RADIO_MISO_PIN 19 - #define RADIO_MOSI_PIN 23 - #define RADIO_CS_PIN 5 - #define RADIO_RST_PIN 27 - #define RADIO_DIO1_PIN 12 - #define RADIO_BUSY_PIN 14 - #define RADIO_RXEN 32 - #define RADIO_TXEN 25 - + #define RADIO_MOSI_PIN 27 + #define RADIO_CS_PIN 18 + #define RADIO_RST_PIN 23 + #define RADIO_DIO1_PIN 33 + #define RADIO_BUSY_PIN 32 + #define RADIO_RXEN 14 + #define RADIO_TXEN 13 #endif \ No newline at end of file diff --git a/variants/ESP32_DIY_LoRa/board_pinout.h b/variants/ESP32_DIY_LoRa/board_pinout.h index fd0eac9..7bc581e 100644 --- a/variants/ESP32_DIY_LoRa/board_pinout.h +++ b/variants/ESP32_DIY_LoRa/board_pinout.h @@ -14,14 +14,11 @@ #define INTERNAL_LED_PIN 2 - #define RADIO_SCLK_PIN 18 + #define RADIO_SCLK_PIN 5 #define RADIO_MISO_PIN 19 - #define RADIO_MOSI_PIN 23 - #define RADIO_CS_PIN 5 - #define RADIO_RST_PIN 27 - #define RADIO_DIO1_PIN 12 - #define RADIO_BUSY_PIN 14 - #define RADIO_RXEN 32 - #define RADIO_TXEN 25 + #define RADIO_MOSI_PIN 27 + #define RADIO_CS_PIN 18 + #define RADIO_RST_PIN 14 + #define RADIO_BUSY_PIN 26 #endif \ No newline at end of file diff --git a/variants/ESP32_DIY_LoRa_915/board_pinout.h b/variants/ESP32_DIY_LoRa_915/board_pinout.h index ba5e5f0..ab0509a 100644 --- a/variants/ESP32_DIY_LoRa_915/board_pinout.h +++ b/variants/ESP32_DIY_LoRa_915/board_pinout.h @@ -14,14 +14,11 @@ #define INTERNAL_LED_PIN 2 - #define RADIO_SCLK_PIN 18 + #define RADIO_SCLK_PIN 5 #define RADIO_MISO_PIN 19 - #define RADIO_MOSI_PIN 23 - #define RADIO_CS_PIN 5 - #define RADIO_RST_PIN 27 - #define RADIO_DIO1_PIN 12 - #define RADIO_BUSY_PIN 14 - #define RADIO_RXEN 32 - #define RADIO_TXEN 25 + #define RADIO_MOSI_PIN 27 + #define RADIO_CS_PIN 18 + #define RADIO_RST_PIN 14 + #define RADIO_BUSY_PIN 26 #endif \ No newline at end of file diff --git a/variants/ESP32_DIY_LoRa_A7670/board_pinout.h b/variants/ESP32_DIY_LoRa_A7670/board_pinout.h index 3d4b317..3aba4f9 100644 --- a/variants/ESP32_DIY_LoRa_A7670/board_pinout.h +++ b/variants/ESP32_DIY_LoRa_A7670/board_pinout.h @@ -9,19 +9,23 @@ #undef OLED_SCL #undef OLED_RST - #define OLED_SDA 18 - #define OLED_SCL 17 + #define OLED_SDA 21 + #define OLED_SCL 22 #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) - #define INTERNAL_LED_PIN 37 // Green Led - #define BATTERY_PIN 1 - - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 3 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS_PIN 7 - #define RADIO_RST_PIN 8 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 34 + #define INTERNAL_LED_PIN 13 // 13 for V1.1 and 12 for V1.0 + #define BATTERY_PIN 35 + + #define RADIO_SCLK_PIN 18 + #define RADIO_MISO_PIN 19 + #define RADIO_MOSI_PIN 23 + #define RADIO_CS_PIN 2 + #define RADIO_RST_PIN 0 + #define RADIO_BUSY_PIN 32 + + #define A7670_PWR_PIN 4 + #define A7670_ResetPin 5 + #define A7670_TX_PIN 26 + #define A7670_RX_PIN 27 #endif \ No newline at end of file diff --git a/variants/ESP32_DIY_LoRa_A7670_915/board_pinout.h b/variants/ESP32_DIY_LoRa_A7670_915/board_pinout.h index 9d23644..9b60f59 100644 --- a/variants/ESP32_DIY_LoRa_A7670_915/board_pinout.h +++ b/variants/ESP32_DIY_LoRa_A7670_915/board_pinout.h @@ -9,19 +9,23 @@ #undef OLED_SCL #undef OLED_RST - #define OLED_SDA 18 - #define OLED_SCL 17 + #define OLED_SDA 21 + #define OLED_SCL 22 #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) - #define INTERNAL_LED_PIN 37 // Green Led - #define BATTERY_PIN 1 + #define INTERNAL_LED_PIN 13 // 13 for V1.1 and 12 for V1.0 + #define BATTERY_PIN 35 - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 3 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS_PIN 7 - #define RADIO_RST_PIN 8 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 34 + #define RADIO_SCLK_PIN 18 + #define RADIO_MISO_PIN 19 + #define RADIO_MOSI_PIN 23 + #define RADIO_CS_PIN 2 + #define RADIO_RST_PIN 0 + #define RADIO_BUSY_PIN 32 + + #define A7670_PWR_PIN 4 + #define A7670_ResetPin 5 + #define A7670_TX_PIN 26 + #define A7670_RX_PIN 27 #endif \ No newline at end of file diff --git a/variants/OE5HWN_MeshCom/board_pinout.h b/variants/OE5HWN_MeshCom/board_pinout.h index 412b658..0f7477b 100644 --- a/variants/OE5HWN_MeshCom/board_pinout.h +++ b/variants/OE5HWN_MeshCom/board_pinout.h @@ -9,19 +9,18 @@ #undef OLED_SCL #undef OLED_RST - #define OLED_SDA 18 - #define OLED_SCL 17 + #define OLED_SDA 21 + #define OLED_SCL 22 #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) - #define INTERNAL_LED_PIN 37 // Green Led - #define BATTERY_PIN 1 - - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 3 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS_PIN 7 - #define RADIO_RST_PIN 8 + #define RADIO_SCLK_PIN 18 + #define RADIO_MISO_PIN 19 + #define RADIO_MOSI_PIN 23 + #define RADIO_CS_PIN 5 + #define RADIO_RST_PIN 27 #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 34 + #define RADIO_BUSY_PIN 26 + #define RADIO_RXEN 14 + #define RADIO_TXEN 13 #endif \ No newline at end of file diff --git a/variants/QRPLabs_LightGateway_1_0/board_pinout.h b/variants/QRPLabs_LightGateway_1_0/board_pinout.h index 859347c..479e8a4 100644 --- a/variants/QRPLabs_LightGateway_1_0/board_pinout.h +++ b/variants/QRPLabs_LightGateway_1_0/board_pinout.h @@ -8,19 +8,27 @@ #undef OLED_SCL #undef OLED_RST - #define OLED_SDA 18 - #define OLED_SCL 17 + #define OLED_SDA 3 + #define OLED_SCL 4 #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) - #define INTERNAL_LED_PIN 37 // Green Led + #define INTERNAL_LED_PIN 16 #define BATTERY_PIN 1 + #define BUTTON_PIN 0 - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 3 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS_PIN 7 - #define RADIO_RST_PIN 8 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 34 + #define RADIO_VCC_PIN 21 + + #define RADIO_SCLK_PIN 12 + #define RADIO_MISO_PIN 13 + #define RADIO_MOSI_PIN 11 + #define RADIO_CS_PIN 10 + #define RADIO_RST_PIN 9 + #define RADIO_DIO1_PIN 5 + #define RADIO_BUSY_PIN 6 + #define RADIO_RXEN 42 + #define RADIO_TXEN 14 + -#endif \ No newline at end of file +#endif + + \ No newline at end of file diff --git a/variants/WEMOS-LOLIN32-OLED-DIY/board_pinout.h b/variants/WEMOS-LOLIN32-OLED-DIY/board_pinout.h index 3f6ff80..c2a5510 100644 --- a/variants/WEMOS-LOLIN32-OLED-DIY/board_pinout.h +++ b/variants/WEMOS-LOLIN32-OLED-DIY/board_pinout.h @@ -12,9 +12,6 @@ #define OLED_SCL 4 #define OLED_RST -1 - #define INTERNAL_LED_PIN 37 - #define BATTERY_PIN 1 - #define RADIO_SCLK_PIN 15 #define RADIO_MISO_PIN 13 #define RADIO_MOSI_PIN 12 diff --git a/variants/esp32c3_DIY_1W_LoRa/board_pinout.h b/variants/esp32c3_DIY_1W_LoRa/board_pinout.h index 412b658..c21fade 100644 --- a/variants/esp32c3_DIY_1W_LoRa/board_pinout.h +++ b/variants/esp32c3_DIY_1W_LoRa/board_pinout.h @@ -2,26 +2,24 @@ #define BOARD_PINOUT_H_ #define HAS_SX1268 - #define HAS_DISPLAY #define HAS_1W_LORA - #undef OLED_SDA + /*#undef OLED_SDA #undef OLED_SCL #undef OLED_RST #define OLED_SDA 18 #define OLED_SCL 17 - #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) + #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin)*/ - #define INTERNAL_LED_PIN 37 // Green Led - #define BATTERY_PIN 1 - - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 3 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS_PIN 7 - #define RADIO_RST_PIN 8 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 34 + #define RADIO_SCLK_PIN 8 + #define RADIO_MISO_PIN 9 + #define RADIO_MOSI_PIN 10 + #define RADIO_CS_PIN 5 + #define RADIO_RST_PIN 4 + #define RADIO_DIO1_PIN 2 + #define RADIO_BUSY_PIN 3 + #define RADIO_RXEN 6 + #define RADIO_TXEN 7 #endif \ No newline at end of file diff --git a/variants/esp32c3_DIY_1W_LoRa_915/board_pinout.h b/variants/esp32c3_DIY_1W_LoRa_915/board_pinout.h index 9f5e746..2ca34d2 100644 --- a/variants/esp32c3_DIY_1W_LoRa_915/board_pinout.h +++ b/variants/esp32c3_DIY_1W_LoRa_915/board_pinout.h @@ -2,27 +2,24 @@ #define BOARD_PINOUT_H_ #define HAS_SX1262 - #define HAS_DISPLAY #define HAS_1W_LORA - - #undef OLED_SDA + /*#undef OLED_SDA #undef OLED_SCL #undef OLED_RST #define OLED_SDA 18 #define OLED_SCL 17 - #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) - - #define INTERNAL_LED_PIN 37 // Green Led - #define BATTERY_PIN 1 + #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin)*/ - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 3 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS_PIN 7 - #define RADIO_RST_PIN 8 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 34 + #define RADIO_SCLK_PIN 8 + #define RADIO_MISO_PIN 9 + #define RADIO_MOSI_PIN 10 + #define RADIO_CS_PIN 5 + #define RADIO_RST_PIN 4 + #define RADIO_DIO1_PIN 2 + #define RADIO_BUSY_PIN 3 + #define RADIO_RXEN 6 + #define RADIO_TXEN 7 #endif \ No newline at end of file diff --git a/variants/heltec-lora32-v2/board_pinout.h b/variants/heltec-lora32-v2/board_pinout.h index 2efba70..aaa65cd 100644 --- a/variants/heltec-lora32-v2/board_pinout.h +++ b/variants/heltec-lora32-v2/board_pinout.h @@ -8,19 +8,20 @@ #undef OLED_SCL #undef OLED_RST - #define OLED_SDA 18 - #define OLED_SCL 17 - #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) + #define OLED_SDA 4 + #define OLED_SCL 15 + #define OLED_RST 16 - #define INTERNAL_LED_PIN 37 // Green Led - #define BATTERY_PIN 1 + #define INTERNAL_LED_PIN 25 + #define BATTERY_PIN 37 #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 3 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS_PIN 7 - #define RADIO_RST_PIN 8 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 34 + #define RADIO_MISO_PIN 19 + #define RADIO_MOSI_PIN 27 + #define RADIO_CS_PIN 18 + #define RADIO_RST_PIN 14 + #define RADIO_BUSY_PIN 26 -#endif \ No newline at end of file + #define ADC_CTRL 21 + +#endif diff --git a/variants/heltec_ht-ct62/board_pinout.h b/variants/heltec_ht-ct62/board_pinout.h index 3f6b11f..e0ca312 100644 --- a/variants/heltec_ht-ct62/board_pinout.h +++ b/variants/heltec_ht-ct62/board_pinout.h @@ -2,25 +2,23 @@ #define BOARD_PINOUT_H_ #define HAS_SX1262 - #define HAS_DISPLAY - #undef OLED_SDA + /*#undef OLED_SDA #undef OLED_SCL #undef OLED_RST #define OLED_SDA 18 #define OLED_SCL 17 - #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) + #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin)*/ - #define INTERNAL_LED_PIN 37 // Green Led #define BATTERY_PIN 1 - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 3 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS_PIN 7 - #define RADIO_RST_PIN 8 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 34 + #define RADIO_SCLK_PIN 10 + #define RADIO_MISO_PIN 6 + #define RADIO_MOSI_PIN 7 + #define RADIO_CS_PIN 8 + #define RADIO_RST_PIN 5 + #define RADIO_DIO1_PIN 3 + #define RADIO_BUSY_PIN 4 #endif \ No newline at end of file diff --git a/variants/heltec_wifi_lora_32_V3/board_pinout.h b/variants/heltec_wifi_lora_32_V3/board_pinout.h index 3f6b11f..3ab453e 100644 --- a/variants/heltec_wifi_lora_32_V3/board_pinout.h +++ b/variants/heltec_wifi_lora_32_V3/board_pinout.h @@ -8,19 +8,24 @@ #undef OLED_SCL #undef OLED_RST - #define OLED_SDA 18 - #define OLED_SCL 17 - #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) + #define OLED_SDA 17 + #define OLED_SCL 18 + #define OLED_RST 21 - #define INTERNAL_LED_PIN 37 // Green Led + #define INTERNAL_LED_PIN 35 #define BATTERY_PIN 1 - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 3 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS_PIN 7 - #define RADIO_RST_PIN 8 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 34 + #define RADIO_SCLK_PIN 9 + #define RADIO_MISO_PIN 11 + #define RADIO_MOSI_PIN 10 + #define RADIO_CS_PIN 8 + #define RADIO_RST_PIN 12 + #define RADIO_DIO1_PIN 14 + #define RADIO_BUSY_PIN 13 + + #define VEXT_CTRL 36 + #define ADC_CTRL 37 + #define BOARD_I2C_SDA 41 + #define BOARD_I2C_SCL 42 #endif \ No newline at end of file diff --git a/variants/heltec_wireless_paper/board_pinout.h b/variants/heltec_wireless_paper/board_pinout.h index 12eff16..db1af0b 100644 --- a/variants/heltec_wireless_paper/board_pinout.h +++ b/variants/heltec_wireless_paper/board_pinout.h @@ -5,23 +5,35 @@ #define HAS_DISPLAY #define HAS_EPAPER - #undef OLED_SDA + /*#undef OLED_SDA #undef OLED_SCL #undef OLED_RST #define OLED_SDA 18 #define OLED_SCL 17 - #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) - - #define INTERNAL_LED_PIN 37 // Green Led - #define BATTERY_PIN 1 - - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 3 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS_PIN 7 - #define RADIO_RST_PIN 8 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 34 + #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin)*/ + + #define INTERNAL_LED_PIN 18 + #define BATTERY_PIN 20 + + #define RADIO_SCLK_PIN 9 + #define RADIO_MISO_PIN 11 + #define RADIO_MOSI_PIN 10 + #define RADIO_CS_PIN 8 + #define RADIO_RST_PIN 12 + #define RADIO_DIO1_PIN 14 + #define RADIO_BUSY_PIN 13 + + #define ADC_CTRL 19 + #define VEXT_CTRL 45 + #define BOARD_I2C_SDA 37 + #define BOARD_I2C_SCL 36 + + #define EPAPER_BUSY 7 + #define EPAPER_RST 6 + #define EPAPER_DC 5 + #define EPAPER_CS 4 + #define EPAPER_SCL 3 + #define EPAPER_SDA 2 #endif \ No newline at end of file diff --git a/variants/heltec_wireless_stick/board_pinout.h b/variants/heltec_wireless_stick/board_pinout.h index 3f6b11f..32e83c3 100644 --- a/variants/heltec_wireless_stick/board_pinout.h +++ b/variants/heltec_wireless_stick/board_pinout.h @@ -8,19 +8,24 @@ #undef OLED_SCL #undef OLED_RST - #define OLED_SDA 18 - #define OLED_SCL 17 - #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) + #define OLED_SDA 4 + #define OLED_SCL 15 + #define OLED_RST 16 - #define INTERNAL_LED_PIN 37 // Green Led + #define INTERNAL_LED_PIN 35 #define BATTERY_PIN 1 - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 3 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS_PIN 7 - #define RADIO_RST_PIN 8 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 34 + #define RADIO_SCLK_PIN 9 + #define RADIO_MISO_PIN 11 + #define RADIO_MOSI_PIN 10 + #define RADIO_CS_PIN 8 + #define RADIO_RST_PIN 12 + #define RADIO_DIO1_PIN 14 + #define RADIO_BUSY_PIN 13 + + #define VEXT_CTRL 36 + #define ADC_CTRL 37 + #define BOARD_I2C_SDA 41 + #define BOARD_I2C_SCL 42 #endif \ No newline at end of file diff --git a/variants/heltec_wireless_stick_lite_v3/board_pinout.h b/variants/heltec_wireless_stick_lite_v3/board_pinout.h index 3f6b11f..7e7ee52 100644 --- a/variants/heltec_wireless_stick_lite_v3/board_pinout.h +++ b/variants/heltec_wireless_stick_lite_v3/board_pinout.h @@ -2,25 +2,29 @@ #define BOARD_PINOUT_H_ #define HAS_SX1262 - #define HAS_DISPLAY - #undef OLED_SDA + /*#undef OLED_SDA #undef OLED_SCL #undef OLED_RST #define OLED_SDA 18 #define OLED_SCL 17 - #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) + #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin)*/ - #define INTERNAL_LED_PIN 37 // Green Led + #define INTERNAL_LED_PIN 35 #define BATTERY_PIN 1 - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 3 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS_PIN 7 - #define RADIO_RST_PIN 8 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 34 + #define RADIO_SCLK_PIN 9 + #define RADIO_MISO_PIN 11 + #define RADIO_MOSI_PIN 10 + #define RADIO_CS_PIN 8 + #define RADIO_RST_PIN 12 + #define RADIO_DIO1_PIN 14 + #define RADIO_BUSY_PIN 13 + + #define VEXT_CTRL 36 + #define ADC_CTRL 37 + #define BOARD_I2C_SDA 41 + #define BOARD_I2C_SCL 42 #endif \ No newline at end of file diff --git a/variants/heltec_wireless_stick_lite_v3_display/board_pinout.h b/variants/heltec_wireless_stick_lite_v3_display/board_pinout.h index 3f6b11f..5ccd2fd 100644 --- a/variants/heltec_wireless_stick_lite_v3_display/board_pinout.h +++ b/variants/heltec_wireless_stick_lite_v3_display/board_pinout.h @@ -4,23 +4,28 @@ #define HAS_SX1262 #define HAS_DISPLAY - #undef OLED_SDA + /*#undef OLED_SDA #undef OLED_SCL #undef OLED_RST #define OLED_SDA 18 - #define OLED_SCL 17 + #define OLED_SCL 17*/ #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) - #define INTERNAL_LED_PIN 37 // Green Led + #define INTERNAL_LED_PIN 35 #define BATTERY_PIN 1 - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 3 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS_PIN 7 - #define RADIO_RST_PIN 8 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 34 + #define RADIO_SCLK_PIN 9 + #define RADIO_MISO_PIN 11 + #define RADIO_MOSI_PIN 10 + #define RADIO_CS_PIN 8 + #define RADIO_RST_PIN 12 + #define RADIO_DIO1_PIN 14 + #define RADIO_BUSY_PIN 13 + + #define VEXT_CTRL 36 + #define ADC_CTRL 37 + #define BOARD_I2C_SDA 41 + #define BOARD_I2C_SCL 42 #endif \ No newline at end of file diff --git a/variants/heltec_wireless_tracker/board_pinout.h b/variants/heltec_wireless_tracker/board_pinout.h index 98431d7..4d45ebd 100644 --- a/variants/heltec_wireless_tracker/board_pinout.h +++ b/variants/heltec_wireless_tracker/board_pinout.h @@ -7,23 +7,31 @@ #define HAS_GPS #define GPS_BAUDRATE=115200 - #undef OLED_SDA + /*#undef OLED_SDA #undef OLED_SCL #undef OLED_RST #define OLED_SDA 18 #define OLED_SCL 17 - #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) + #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin)*/ - #define INTERNAL_LED_PIN 37 // Green Led + #define INTERNAL_LED_PIN 18 #define BATTERY_PIN 1 - #define RADIO_SCLK_PIN 5 - #define RADIO_MISO_PIN 3 - #define RADIO_MOSI_PIN 6 - #define RADIO_CS_PIN 7 - #define RADIO_RST_PIN 8 - #define RADIO_DIO1_PIN 33 - #define RADIO_BUSY_PIN 34 - -#endif \ No newline at end of file + #define RADIO_SCLK_PIN 9 // SX1262 SCK + #define RADIO_MISO_PIN 11 // SX1262 MISO + #define RADIO_MOSI_PIN 10 // SX1262 MOSI + #define RADIO_CS_PIN 8 // SX1262 NSS + #define RADIO_RST_PIN 12 // SX1262 RST + #define RADIO_DIO1_PIN 14 // SX1262 DIO1 + #define RADIO_BUSY_PIN 13 // SX1262 BUSY + + #define ADC_CTRL 2 // HELTEC Wireless Tracker ADC_CTRL = HIGH powers the voltage divider to read BatteryPin. Only on V05 = V1.1 + #define VEXT_CTRL 3 // To turn on GPS and TFT + #define BOARD_I2C_SDA 7 + #define BOARD_I2C_SCL 6 + + #define GPS_RX 34 + #define GPS_TX 33 + +#endif diff --git a/variants/ttgo-lora32-v21/board_pinout.h b/variants/ttgo-lora32-v21/board_pinout.h index 412c2f9..78481af 100644 --- a/variants/ttgo-lora32-v21/board_pinout.h +++ b/variants/ttgo-lora32-v21/board_pinout.h @@ -22,6 +22,5 @@ #define RADIO_CS_PIN 18 #define RADIO_RST_PIN 14 #define RADIO_BUSY_PIN 26 - #endif \ No newline at end of file diff --git a/variants/ttgo-lora32-v21_915/board_pinout.h b/variants/ttgo-lora32-v21_915/board_pinout.h index d00ad3b..9cb5bf8 100644 --- a/variants/ttgo-lora32-v21_915/board_pinout.h +++ b/variants/ttgo-lora32-v21_915/board_pinout.h @@ -23,5 +23,4 @@ #define RADIO_RST_PIN 14 #define RADIO_BUSY_PIN 26 - #endif \ No newline at end of file diff --git a/variants/ttgo-t-beam-v1/board_pinout.h b/variants/ttgo-t-beam-v1/board_pinout.h index 6151344..cc8a193 100644 --- a/variants/ttgo-t-beam-v1/board_pinout.h +++ b/variants/ttgo-t-beam-v1/board_pinout.h @@ -10,8 +10,8 @@ #undef OLED_SCL #undef OLED_RST - #define OLED_SDA 22 - #define OLED_SCL 21 + #define OLED_SDA 21 + #define OLED_SCL 22 #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) #define RADIO_SCLK_PIN 5 diff --git a/variants/ttgo-t-beam-v1_2/board_pinout.h b/variants/ttgo-t-beam-v1_2/board_pinout.h index 5f62888..038cda0 100644 --- a/variants/ttgo-t-beam-v1_2/board_pinout.h +++ b/variants/ttgo-t-beam-v1_2/board_pinout.h @@ -10,8 +10,8 @@ #undef OLED_SCL #undef OLED_RST - #define OLED_SDA 22 - #define OLED_SCL 21 + #define OLED_SDA 21 + #define OLED_SCL 22 #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) #define RADIO_SCLK_PIN 5 diff --git a/variants/ttgo-t-beam-v1_2_915/board_pinout.h b/variants/ttgo-t-beam-v1_2_915/board_pinout.h index 7021f16..a28110c 100644 --- a/variants/ttgo-t-beam-v1_2_915/board_pinout.h +++ b/variants/ttgo-t-beam-v1_2_915/board_pinout.h @@ -10,8 +10,8 @@ #undef OLED_SCL #undef OLED_RST - #define OLED_SDA 22 - #define OLED_SCL 21 + #define OLED_SDA 21 + #define OLED_SCL 22 #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) #define RADIO_SCLK_PIN 5 diff --git a/variants/ttgo-t-beam-v1_2_SX1262/board_pinout.h b/variants/ttgo-t-beam-v1_2_SX1262/board_pinout.h index 4381c0c..1e50473 100644 --- a/variants/ttgo-t-beam-v1_2_SX1262/board_pinout.h +++ b/variants/ttgo-t-beam-v1_2_SX1262/board_pinout.h @@ -10,18 +10,21 @@ #undef OLED_SCL #undef OLED_RST - #define OLED_SDA 22 - #define OLED_SCL 21 + #define OLED_SDA 21 + #define OLED_SCL 22 #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) #define RADIO_SCLK_PIN 5 #define RADIO_MISO_PIN 19 #define RADIO_MOSI_PIN 27 #define RADIO_CS_PIN 18 - #define RADIO_RST_PIN 14 - #define RADIO_BUSY_PIN 26 + #define RADIO_DIO0_PIN 26 + #define RADIO_RST_PIN 23 + #define RADIO_DIO1_PIN 33 + #define RADIO_BUSY_PIN 32 #define GPS_RX 12 #define GPS_TX 34 -#endif \ No newline at end of file +#endif + diff --git a/variants/ttgo-t-beam-v1_915/board_pinout.h b/variants/ttgo-t-beam-v1_915/board_pinout.h index 673d6ea..5189394 100644 --- a/variants/ttgo-t-beam-v1_915/board_pinout.h +++ b/variants/ttgo-t-beam-v1_915/board_pinout.h @@ -10,8 +10,8 @@ #undef OLED_SCL #undef OLED_RST - #define OLED_SDA 22 - #define OLED_SCL 21 + #define OLED_SDA 21 + #define OLED_SCL 22 #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) #define RADIO_SCLK_PIN 5 diff --git a/variants/ttgo-t-beam-v1_SX1268/board_pinout.h b/variants/ttgo-t-beam-v1_SX1268/board_pinout.h index 6a2a3c7..8490a1a 100644 --- a/variants/ttgo-t-beam-v1_SX1268/board_pinout.h +++ b/variants/ttgo-t-beam-v1_SX1268/board_pinout.h @@ -18,8 +18,8 @@ #define RADIO_MISO_PIN 19 #define RADIO_MOSI_PIN 27 #define RADIO_CS_PIN 18 - #define RADIO_RST_PIN 23 #define RADIO_DIO0_PIN 26 + #define RADIO_RST_PIN 23 #define RADIO_DIO1_PIN 33 #define RADIO_BUSY_PIN 32