Replies: 4 comments 1 reply
-
Different displays have different arrangments for the backlight. Some displays have a transistor that can be used to switch the backlight on and off. The majority of displays do not have a backlight that is controlled via the display data/command interface. Some displays require power to be applied to the backlight signal. (e.g 3.3V or 5V). |
Beta Was this translation helpful? Give feedback.
-
If that's the case shouldn't the ST7789_init.h driver have a TFT_BACKLIGHT_ON setting vs hard coding HIGH:
should be this:
|
Beta Was this translation helpful? Give feedback.
-
I'm curious why this would not be an issue given there is a fix requested to the |
Beta Was this translation helpful? Give feedback.
-
There is legacy code in the ST7789_init.h driver. You can delete it if you wish. |
Beta Was this translation helpful? Give feedback.
-
I am trying to work with the ST7789 but am wondering why the
TFT_BACKLIGHT_ON
setting is not used. I see in the driver's init file I see this in two places:In my code, just testing the backlight, this makes it turn on:
digitalWrite(TFT_BL, LOW);
and this makes it turn off:
digitalWrite(TFT_BL, HIGH);
A lot of the other drivers use it. I also see this code in the TFT_eSPI.cpp:
Does this override the driver settings?
Beta Was this translation helpful? Give feedback.
All reactions