gpio
gpio copied to clipboard
Support pull up/down resistor for RPi
The sleep values are somewhat arbitrary (not sure what they should be in reality), but I think it's fine since the Python RPi library just does a NOP for 150 cycles. I tested this with some buttons on the GPIO.