andreas-volz / rpi_hdmi_display_onoff

Just a python script to control the HDMI display attached to my piCorePlayer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raspberry PI HDMI Display On/Off Button

Just a python script to control the HDMI display attached to a piCorePlayer

It might work with every Raspberry PI OS not only piCorePlayer.

Function is very easy. Attach a button to the configured PIN (BCM 27 by default) and when switching the display changes the on/off state.

At the same time there is a display sleep timer (default 10 minutes) to let the display go to sleep. This isn't perfect as it doesn't check for last touch input. Potential improvement. :-)

About

Just a python script to control the HDMI display attached to my piCorePlayer

License:GNU General Public License v3.0


Languages

Language:Python 100.0%