Public Member Functions | |
def | __init__ |
def | __str__ |
def | __family__ |
def | __startMeasuring__ |
def | readRawData |
def | __getCelsius__ |
def | __getFahrenheit__ |
def | __getKelvin__ |
def | __getHumidity__ |
![]() | |
def | __init__ |
def | __str__ |
def | readRegister |
def | readRegisters |
def | writeRegister |
def | writeRegisters |
![]() | |
def | __init__ |
def | open |
def | close |
def | read |
def | readBytes |
def | readByte |
def | write |
def | writeBytes |
def | writeByte |
![]() | |
def | __family__ |
def | __getKelvin__ |
def | __getCelsius__ |
def | __getFahrenheit__ |
def | Kelvin2Celsius |
def | Kelvin2Fahrenheit |
def | Celsius2Kelvin |
def | Celsius2Fahrenheit |
def | Fahrenheit2Kelvin |
def | Fahrenheit2Celsius |
def | getKelvin |
def | getCelsius |
def | getFahrenheit |
![]() | |
def | __family__ |
def | __getHumidity__ |
def | getHumidity |
def | getHumidityPercent |
Static Public Attributes | |
int | VAL_RETRIES = 30 |
Additional Inherited Members | |
![]() | |
channel | |
slave | |
![]() | |
busName | |
device | |
flag | |
fd | |
def webiopi.devices.sensor.hytXXX.HYT221.__init__ | ( | self, | |
slave = 0x28 |
|||
) |
Definition at line 23 of file hytXXX.py.
References webiopi.devices.sensor.hytXXX.HYT221.__startMeasuring__(), and webiopi.utils.types.toint().
def webiopi.devices.sensor.hytXXX.HYT221.__family__ | ( | self | ) |
def webiopi.devices.sensor.hytXXX.HYT221.__getCelsius__ | ( | self | ) |
Definition at line 54 of file hytXXX.py.
References webiopi.devices.sensor.hytXXX.HYT221.readRawData().
def webiopi.devices.sensor.hytXXX.HYT221.__getFahrenheit__ | ( | self | ) |
Definition at line 61 of file hytXXX.py.
References webiopi.devices.sensor.Temperature.Celsius2Fahrenheit().
def webiopi.devices.sensor.hytXXX.HYT221.__getHumidity__ | ( | self | ) |
Definition at line 67 of file hytXXX.py.
References webiopi.devices.sensor.hytXXX.HYT221.readRawData().
def webiopi.devices.sensor.hytXXX.HYT221.__getKelvin__ | ( | self | ) |
Definition at line 64 of file hytXXX.py.
References webiopi.devices.sensor.Temperature.Celsius2Kelvin().
def webiopi.devices.sensor.hytXXX.HYT221.__startMeasuring__ | ( | self | ) |
Definition at line 33 of file hytXXX.py.
References webiopi.devices.bus.Bus.writeByte().
Referenced by webiopi.devices.sensor.hytXXX.HYT221.__init__(), and webiopi.devices.sensor.hytXXX.HYT221.readRawData().
def webiopi.devices.sensor.hytXXX.HYT221.__str__ | ( | self | ) |
Definition at line 27 of file hytXXX.py.
References webiopi.devices.i2c.I2C.slave, and webiopi.devices.digital.mcp23XXX.MCP23SXX.slave.
def webiopi.devices.sensor.hytXXX.HYT221.readRawData | ( | self | ) |
Definition at line 36 of file hytXXX.py.
References webiopi.devices.sensor.hytXXX.HYT221.__startMeasuring__(), webiopi.devices.bus.Bus.readBytes(), webiopi.devices.i2c.I2C.slave, webiopi.devices.digital.mcp23XXX.MCP23SXX.slave, and webiopi.devices.sensor.hytXXX.HYT221.VAL_RETRIES.
Referenced by webiopi.devices.sensor.hytXXX.HYT221.__getCelsius__(), and webiopi.devices.sensor.hytXXX.HYT221.__getHumidity__().
|
static |
Definition at line 21 of file hytXXX.py.
Referenced by webiopi.devices.sensor.hytXXX.HYT221.readRawData().