thinknode_m5: manage baclight

This commit is contained in:
Florent 2025-11-28 10:33:19 +01:00
parent dfec6d3483
commit ee4e87c3ee
5 changed files with 18 additions and 5 deletions

View file

@ -18,6 +18,7 @@ build_flags = ${esp32_base.build_flags}
-D P_LORA_MISO=7
-D P_LORA_MOSI=15
-D PIN_USER_BTN=21
-D PIN_BUTTON2=14
-D EXP_PIN_LED=1
# -D PIN_STATUS_LED=1 ; leds are on PCA !!!
# -D LED_STATE_ON=HIGH
@ -29,6 +30,8 @@ build_flags = ${esp32_base.build_flags}
-D EINK_SCALE_Y=1.5625f
-D EINK_X_OFFSET=0
-D EINK_Y_OFFSET=10
-D BACKLIGHT_BTN=PIN_BUTTON2
-D AUTO_OFF_MILLIS=0
-D SX126X_DIO2_AS_RF_SWITCH=true
-D SX126X_DIO3_TCXO_VOLTAGE=3.3
-D SX126X_CURRENT_LIMIT=140