The display backlight is controlled by the LED pin. On the 3.e, this is tied to the PWR pin, so to turn off the backlight, you must turn off power to the display. This causes the display to reset and lose its configuration, so when it gets powered, it just comes up white. The workaround is ugly - it requires re-creating the display driver instance on wake, which has its own set of challenges.
The LED pin needs to be run to its own GPIO (and after that, the code set to initialize that pin high).
My current workaround was to clip the LED pin off of the physical display, and run a bodge wire to a pin on the Mikrobus port
The display backlight is controlled by the
LEDpin. On the 3.e, this is tied to thePWRpin, so to turn off the backlight, you must turn off power to the display. This causes the display to reset and lose its configuration, so when it gets powered, it just comes up white. The workaround is ugly - it requires re-creating the display driver instance on wake, which has its own set of challenges.The
LEDpin needs to be run to its own GPIO (and after that, the code set to initialize that pin high).My current workaround was to clip the
LEDpin off of the physical display, and run a bodge wire to a pin on the Mikrobus port