ttgobeam10.h: add blue LED control

This commit is contained in:
cyberman54 2020-12-18 18:40:26 +01:00
parent 284d02cb87
commit 4c9862e7d5

View File

@ -20,7 +20,7 @@ User, long press -> send LORA message
Reset -> reset device Reset -> reset device
*/ */
#define HAS_DISPLAY 1 //#define HAS_DISPLAY 1
#define MY_DISPLAY_SDA SDA #define MY_DISPLAY_SDA SDA
#define MY_DISPLAY_SCL SCL #define MY_DISPLAY_SCL SCL
#define MY_DISPLAY_RST NOT_A_PIN #define MY_DISPLAY_RST NOT_A_PIN
@ -42,6 +42,12 @@ Reset -> reset device
// possible values (V): // possible values (V):
// 4_1/4_15/4_2/4_36 // 4_1/4_15/4_2/4_36
// blue onboard led settings
// possible values:
// AXP20X_LED_OFF / AXP20X_LED_LOW_LEVEL (means LED ON) / AXP20X_LED_BLINK_1HZ / AXP20X_LED_BLINK_4HZ
#define PMU_LED_RUN_MODE AXP20X_LED_LOW_LEVEL
#define PMU_LED_SLEEP_MODE AXP20X_LED_BLINK_1HZ
// GPS settings // GPS settings
#define HAS_GPS 1 // use on board GPS #define HAS_GPS 1 // use on board GPS
#define GPS_SERIAL 9600, SERIAL_8N1, GPIO_NUM_34, GPIO_NUM_12 // UBlox NEO 6M #define GPS_SERIAL 9600, SERIAL_8N1, GPIO_NUM_34, GPIO_NUM_12 // UBlox NEO 6M
@ -49,9 +55,9 @@ Reset -> reset device
// enable only if device has these sensors, otherwise comment these lines // enable only if device has these sensors, otherwise comment these lines
// BME680 sensor on I2C bus // BME680 sensor on I2C bus
#define HAS_BME 1 // Enable BME sensors in general //#define HAS_BME 1 // Enable BME sensors in general
#define HAS_BME680 SDA, SCL //#define HAS_BME680 SDA, SCL
#define BME680_ADDR BME680_I2C_ADDR_PRIMARY // !! connect SDIO of BME680 to GND !! //#define BME680_ADDR BME680_I2C_ADDR_PRIMARY // !! connect SDIO of BME680 to GND !!
//#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature //#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature