Push button:
- pin 7 (GPIO 4)
- pin 1 (3V3)
LED:
- pin 13 (GPIO 27)
- pin 14 (GROUND)
https://sourceforge.net/p/raspberry-gpio-python/wiki/Home/
-
without interrupts: RPi_GPIO_no_interrupts.py
-
with interrupts: ToDo
-
without interrupts: pingo_pins_no_interrupts.py
-
with interrupts: ToDo
-
with interrupts
http://abyz.co.uk/rpi/pigpio/python.html