Python API
Loading...
Searching...
No Matches
plux.BITalinoDev.State Class Reference

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.
 

Detailed Description

Current device state returned by BITalinoDev::getState()

Constructor & Destructor Documentation

◆ __init__()

plux.BITalinoDev.State.__init__ (   self)

Member Data Documentation

◆ analog

plux.BITalinoDev.State.analog

Analog inputs values (0...1023) as a tuple of integers.

◆ battery

plux.BITalinoDev.State.battery

Battery voltage value (0...1023) as an integer.

◆ batThreshold

plux.BITalinoDev.State.batThreshold

Low-battery LED threshold (last value set with BITalinoDev::setBatThreshold()) as an integer.

◆ digital

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.