Skip to content

Backlite through GPIO #357

@AstroxV

Description

@AstroxV

I have this display: https://www.waveshare.com/wiki/3.5inch_RPi_LCD_(C)

I have OctoScreen running but when the screen goes into sleep mode (i adjusted disableblankscreen.sh), the backlite remains on since it's not working with the dpms functions.
Now in the documentation of the display it says you should use GPIO to control the backlite.

Is there somehow I can make OctoScreen make a command run when the screensaver kicks in?
I can make a script running to check if the display is on or not and make it run the GPIO status, but thats a dirty sollution, haveing the script loop every second or so to check the status of the display and adjust the GPIO.

Hope someone can help me with this. I looked through the source code but haven't found anything yet I can adjust to make this work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions