Screensaver: CrowPanel 7.0" -HMI ESP32 Display

Hi,
I am looking for the proper way to turn off/blank the display to prevent LCD burn in. I use SquareLine studio to generate my Arduino code. I do turn off the backlight, but i don't think that is enough.
Any help would be appreciated.
Thanks

  • Peter

Comments

  • I tried this with mine and it works. And starts up when you reboot (or attach a pin to it):

    include <esp_sleep.h>

    void shutdown(lv_event_t * e)
    {
    esp_deep_sleep_start();
    }

  • Thanks for the reply, I am looking to just blank the LCD to prevent any kind of burn in of the display leaving the processor running.

  • @pmarkiew said:
    Hi,
    I am looking for the proper way to turn off/blank the display to prevent LCD burn in. I use SquareLine studio to generate my Arduino code. I do turn off the backlight, but i don't think that is enough.
    Any help would be appreciated.
    Thanks

    • Peter

    Hi, I have not been able to get my screen to turn off. I read here that you did. How did you do it? I have tried several ways and have not succeeded. I have a CrowPanel 7.0” HMI ESP32 Display. Could you help me please.

  • define BACKLIGHT 2

    //In setup()
    pinMode(BACKLIGHT, OUTPUT); // Initialize backlight pin

    digitalWrite(BACKLIGHT, LOW); //Off
    digitalWrite(BACKLIGHT, HIGH); //On

Sign In or Register to comment.