![]() |
Python API
|
Current device state returned by BITalinoDev::getState() More...
Public Member Functions | |
__init__ (self) | |
Public Attributes | |
analog | |
Analog inputs values (0...1023) as a tuple of integers. | |
battery | |
Battery voltage value (0...1023) as an integer. | |
batThreshold | |
Low-battery LED threshold (last value set with BITalinoDev::setBatThreshold()) as an integer. | |
digital | |
Digital ports states (False for low level or True for high level) as a tuple of booleans. | |
Current device state returned by BITalinoDev::getState()
plux.BITalinoDev.State.__init__ | ( | self | ) |
plux.BITalinoDev.State.analog |
Analog inputs values (0...1023) as a tuple of integers.
plux.BITalinoDev.State.battery |
Battery voltage value (0...1023) as an integer.
plux.BITalinoDev.State.batThreshold |
Low-battery LED threshold (last value set with BITalinoDev::setBatThreshold()) as an integer.
plux.BITalinoDev.State.digital |
Digital ports states (False for low level or True for high level) as a tuple of booleans.
The tuple contents are: I1 I2 O1 O2.