XBMC: Difference between revisions
→LibreElec Shutdown Button
Line 147:
GPIO.setmode(GPIO.BCM)
GPIO.setup(3, GPIO.IN, pull_up_down = GPIO.PUD_UP)
GPIO.setwarnings(False)
# Our function on what to do when the button is pressed
|
Line 147:
GPIO.setmode(GPIO.BCM)
GPIO.setup(3, GPIO.IN, pull_up_down = GPIO.PUD_UP)
GPIO.setwarnings(False)
# Our function on what to do when the button is pressed
|