Slide 36
Slide 36 text
Supporting multiple pin libraries
●
RPi.GPIO
●
Implemented in C, current default
●
Available in PyPI & apt repository (installed by default in Raspbian)
●
RPIO
●
Implemented in C, supports hardware PWM, supports Pi 1 only (dead project)
●
Available in PyPI
●
pigpio
●
Python wrapper for C library, supports lots of protocols, runs as daemon, supports remote connections
●
Available in PyPI & apt repository (installed by default in Raspbian)
●
Native
●
Pure Python, limited functionality, experimental
●
Included in gpiozero source
●
MockPin & MockPWMPin
●
Pure Python, used in test suite
●
Included in gpiozero source