Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
GPIO Setup
import RPi.GPIO as GPIO
# GPIO setup for front panel button
panelButton = 14
GPIO.setup(panelButton, GPIO.IN, pull_up_down=GPIO.PUD_UP)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment