Classes | |
| class | ahioDriverInfo |
| class | Driver |
Functions | |
| def | pi_version () |
| Detect the version of the Raspberry Pi. More... | |
Variables | |
| AVAILABLE | |
| def ahio.drivers.raspberry.pi_version | ( | ) |
Detect the version of the Raspberry Pi.
Returns either 1, 2 or None depending on if it's a Raspberry Pi 1 (model A, B, A+, B+), Raspberry Pi 2 (model B+), or not a Raspberry Pi. https://github.com/adafruit/Adafruit_Python_GPIO/blob/master/Adafruit_GPIO/Platform.py
Definition at line 37 of file raspberry.py.
| ahio.drivers.raspberry.AVAILABLE |
Definition at line 74 of file raspberry.py.