Skip to content

Commit

Permalink
Update TFT backlight control
Browse files Browse the repository at this point in the history
  • Loading branch information
melkati committed Feb 25, 2024
1 parent c7fc327 commit 3c7363a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CO2_Gadget_TFT.h
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ void displaySplashScreen() {
void initBacklight() {
#if defined(TTGO_TDISPLAY) || defined(ST7789_240x320)
pinMode(TFT_BACKLIGHT, OUTPUT);
digitalWrite(TFT_BACKLIGHT, TFT_BACKLIGHT_ON);
digitalWrite(TFT_BACKLIGHT, 1);
setDisplayBrightness(DisplayBrightness);
#endif
#ifdef ARDUINO_LILYGO_T_DISPLAY_S3
Expand Down

0 comments on commit 3c7363a

Please sign in to comment.