ahio  1.0.0
I/O Communication Library
ahio.drivers.raspberry Namespace Reference

Classes

class  ahioDriverInfo
 
class  Driver
 

Functions

def pi_version ()
 Detect the version of the Raspberry Pi. More...
 

Variables

 AVAILABLE
 

Function Documentation

§ pi_version()

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.

Variable Documentation

§ AVAILABLE

ahio.drivers.raspberry.AVAILABLE

Definition at line 74 of file raspberry.py.