diff --git a/src/hal/lopy.h b/src/hal/lopy.h index cead7c0a..00a6be4d 100644 --- a/src/hal/lopy.h +++ b/src/hal/lopy.h @@ -1,6 +1,7 @@ // Hardware related definitions for Pycom LoPy Board (not: LoPy4) #define CFG_sx1272_radio 1 +#define HAS_RGB_LED 0 // WS2812B RGB LED // Hardware pin definitions for Pycom LoPy board #define PIN_SPI_SS 17 diff --git a/src/hal/lopy4.h b/src/hal/lopy4.h index 38f49bca..6ca8ef21 100644 --- a/src/hal/lopy4.h +++ b/src/hal/lopy4.h @@ -1,6 +1,7 @@ // Hardware related definitions for Pycom LoPy Board (not: LoPy4) #define CFG_sx1276_radio 1 +#define HAS_RGB_LED 0 // WS2812B RGB LED // Hardware pin definitions for Pycom LoPy4 board #define PIN_SPI_SS 18 diff --git a/src/hal/ttgov2.h b/src/hal/ttgov2.h index beae5675..aeaaebbe 100644 --- a/src/hal/ttgov2.h +++ b/src/hal/ttgov2.h @@ -3,7 +3,7 @@ #define CFG_sx1276_radio 1 // HPD13A LoRa SoC #define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C -//#define HAS_LED NOT_A_PIN // on-board LED is wired to SCL (used by display) therefore totally useless +#define HAS_LED NOT_A_PIN // on-board LED is wired to SCL (used by display) therefore totally useless // disable brownout detection (needed on TTGOv2 for battery powered operation) #define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature