diff --git a/src/hal/generic.h b/src/hal/generic.h index 82481fd8..1c9d3b39 100644 --- a/src/hal/generic.h +++ b/src/hal/generic.h @@ -31,7 +31,7 @@ #define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C //#define DISPLAY_FLIP 1 // use if display is rotated -#define HAS_BATTERY_PROBE ADC1_GPIO35_CHANNEL // uses GPIO7 +#define HAS_BATTERY_PROBE ADC1_GPIO35_CHANNEL // battery probe GPIO pin -> ADC1_CHANNEL_7 #define BATT_FACTOR 2 // voltage divider 100k/100k on board #define HAS_LED (21) // on board LED diff --git a/src/hal/ttgofox.h b/src/hal/ttgofox.h index 18a8b04f..69543493 100644 --- a/src/hal/ttgofox.h +++ b/src/hal/ttgofox.h @@ -9,9 +9,9 @@ #define CFG_sx1276_radio 1 // HPD13A LoRa SoC #define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C -#define HAS_LED NOT_A_PIN // green on board LED +#define HAS_LED NOT_A_PIN // green on board LED is useless, because it's wired to GPIO25 = LORA_RST //#define LED_ACTIVE_LOW 1 // Onboard LED is active when pin is LOW -#define HAS_BATTERY_PROBE ADC1_GPIO35_CHANNEL // uses GPIO7 +#define HAS_BATTERY_PROBE ADC1_GPIO35_CHANNEL #define BATT_FACTOR 2 // voltage divider 100k/100k on board #define HAS_BUTTON GPIO_NUM_36 // on board button (next to reset) @@ -28,7 +28,7 @@ #define LORA_CS (18) #define LORA_MISO (19) #define LORA_MOSI (27) -#define LORA_RST (23) +#define LORA_RST (25) #define LORA_IRQ (26) #define LORA_IO1 (33) #define LORA_IO2 (32) diff --git a/src/hal/ttgov21new.h b/src/hal/ttgov21new.h index 6e21a65a..f2cf0571 100644 --- a/src/hal/ttgov21new.h +++ b/src/hal/ttgov21new.h @@ -15,7 +15,7 @@ #define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C #define HAS_LED (25) // green on board LED -#define HAS_BATTERY_PROBE ADC1_GPIO35_CHANNEL // uses GPIO7 +#define HAS_BATTERY_PROBE ADC1_GPIO35_CHANNEL // battery probe GPIO pin -> ADC1_CHANNEL_7 #define BATT_FACTOR 2 // voltage divider 100k/100k on board // Pins for I2C interface of OLED Display diff --git a/src/hal/ttgov21old.h b/src/hal/ttgov21old.h index 21cdd628..d3dd5572 100644 --- a/src/hal/ttgov21old.h +++ b/src/hal/ttgov21old.h @@ -18,7 +18,7 @@ #define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C //#define DISPLAY_FLIP 1 // rotated display -//#define HAS_BATTERY_PROBE ADC1_GPIO35_CHANNEL // uses GPIO7 +//#define HAS_BATTERY_PROBE ADC1_GPIO35_CHANNEL // battery probe GPIO pin -> ADC1_CHANNEL_7 //#define BATT_FACTOR 2 // voltage divider 100k/100k on board // Pins for I2C interface of OLED Display