Module zio :: Class I2CNoAckError

Class I2CNoAckError

exceptions.Exception --+
                       |
                      I2CNoAckError

Exception raised when an acknowledgement is not received, during an I2C transaction.
Instance Methods
 
__init__(self, msg, code)

Inherited from exceptions.Exception: __getitem__, __str__

Class Variables
  DATA = 0
Constant indicates device did not ack.
  ADDR = 1
Constant indicates device was not present.
Properties
  code
The code indicates whether the device...
Method Details

__init__(self, msg, code)
(Constructor)

 
Overrides: exceptions.Exception.__init__

Property Details

code

The code indicates whether the device was not present (ADDR) or the device did not ack (DATA)
Get Method:
_get_code(self)