Public Member Functions | |
def | __init__ |
def | __str__ |
def | __getKelvin__ |
def | __getCelsius__ |
def | __getFahrenheit__ |
![]() | |
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 |
Public Attributes | |
resolution | |
![]() | |
channel | |
slave | |
![]() | |
busName | |
device | |
flag | |
fd | |
def webiopi.devices.sensor.mcptmp.MCP9808.__init__ | ( | self, | |
slave = 0x18 , |
|||
resolution = 12 |
|||
) |
Definition at line 38 of file mcptmp.py.
References webiopi.utils.types.toint().
def webiopi.devices.sensor.mcptmp.MCP9808.__getCelsius__ | ( | self | ) |
Definition at line 53 of file mcptmp.py.
References webiopi.devices.i2c.I2C.readRegisters(), and webiopi.utils.types.signInteger().
def webiopi.devices.sensor.mcptmp.MCP9808.__getFahrenheit__ | ( | self | ) |
Definition at line 58 of file mcptmp.py.
References webiopi.devices.sensor.Temperature.Celsius2Fahrenheit().
def webiopi.devices.sensor.mcptmp.MCP9808.__getKelvin__ | ( | self | ) |
Definition at line 50 of file mcptmp.py.
References webiopi.devices.sensor.Temperature.Celsius2Kelvin().
def webiopi.devices.sensor.mcptmp.MCP9808.__str__ | ( | self | ) |
Definition at line 47 of file mcptmp.py.
References webiopi.devices.sensor.mcptmp.MCP9808.resolution, webiopi.devices.analog.mcp3424.MCP3424.resolution, webiopi.devices.i2c.I2C.slave, and webiopi.devices.digital.mcp23XXX.MCP23SXX.slave.
webiopi.devices.sensor.mcptmp.MCP9808.resolution |
Definition at line 44 of file mcptmp.py.
Referenced by webiopi.devices.sensor.mcptmp.MCP9808.__str__(), webiopi.devices.sensor.tmpXXX.TMP75.__str__(), and webiopi.devices.sensor.tmpXXX.TMP275.__str__().