Skip to content

Instantly share code, notes, and snippets.

Crocker SirCrocker

Block or report user

Report or block SirCrocker

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@SirCrocker
SirCrocker / rpi-hdmi-tv.sh
Last active Oct 2, 2019
Turn off and on the HDMI port and the TV. Options: on, off & status.
View rpi-hdmi-tv.sh
#!/bin/sh
#Enable and disable TV/HDMI
hdmi_status ()
{
vcgencmd display_power | grep "display_power=0" >/dev/null
}
cec_status ()
You can’t perform that action at this time.