gpio_inputs_-_button_led_control_using_an_interrupt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
gpio_inputs_-_button_led_control_using_an_interrupt [2016/08/09 23:00] – walkeradmin | gpio_inputs_-_button_led_control_using_an_interrupt [2016/08/09 23:00] – walkeradmin | ||
---|---|---|---|
Line 25: | Line 25: | ||
print " | print " | ||
GPIO.output(12, | GPIO.output(12, | ||
+ | | ||
# this is where we setup the GPIO input to use the event buttonPressed that was | # this is where we setup the GPIO input to use the event buttonPressed that was | ||
# defined previously. bouncetime is a simple switch debouncer in mS. | # defined previously. bouncetime is a simple switch debouncer in mS. |