class documentation
Undocumented
Static Method | get |
Return an I2C device for the specified address and on the specified bus. If busnum isn't specified, the default I2C bus for the platform will attempt to be detected. |
Static Method | get |
Undocumented |
Static Method | get |
Gets the version number of the Raspberry Pi board |
Method | __init__ |
Undocumented |
Method | err |
Undocumented |
Method | read |
Read a list of bytes from the I2C device |
Method | read |
Reads a signed 16-bit value from the I2C device |
Method | read |
Reads a signed byte from the I2C device |
Method | read |
Reads an unsigned 16-bit value from the I2C device |
Method | read |
Read an unsigned byte from the I2C device |
Method | reverse |
Reverses the byte order of an int (16-bit) or long (32-bit) value |
Method | write16 |
Writes a 16-bit value to the specified register/address pair |
Method | write8 |
Writes an 8-bit value to the specified register/address |
Method | write |
Writes an array of bytes using I2C format |
Method | write |
Writes an 8-bit value on the bus |
Instance Variable | address |
Undocumented |
Instance Variable | bus |
Undocumented |
Instance Variable | debug |
Undocumented |