Public Member Functions | |
def | __init__ |
def | __str__ |
def | wake |
def | __wake__ |
def | sleep |
def | __sleep__ |
def | setTime |
def | getTime |
![]() | |
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 | __getLux__ |
def | getLux |
Public Attributes | |
name | |
![]() | |
channel | |
slave | |
![]() | |
busName | |
device | |
flag | |
fd | |
Static Public Attributes | |
int | VAL_COMMAND = 0x80 |
int | REG_CONTROL = 0x00 |
int | REG_CONFIG = 0x01 |
int | VAL_PWON = 0x03 |
int | VAL_PWOFF = 0x00 |
int | VAL_INVALID = -1 |
Definition at line 30 of file tslXXXX.py.
def webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__init__ | ( | self, | |
slave, | |||
time, | |||
name = "TSL_LIGHT_X" |
|||
) |
Definition at line 39 of file tslXXXX.py.
References webiopi.utils.types.toint().
def webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__sleep__ | ( | self | ) |
Definition at line 57 of file tslXXXX.py.
References webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.REG_CONTROL, webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.VAL_PWOFF, webiopi.devices.i2c.I2C.writeRegister(), and webiopi.devices.digital.mcp23XXX.MCP23SXX.writeRegister().
Referenced by webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.sleep().
def webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__str__ | ( | self | ) |
Definition at line 45 of file tslXXXX.py.
References webiopi.devices.sensor.onewiretemp.OneWireTemp.name, webiopi.devices.analog.mcp3x0x.MCP3X0X.name, webiopi.devices.analog.mcp48XX.MCP48XX.name, webiopi.devices.digital.pcf8574.PCF8574.name, webiopi.devices.analog.ads1x1x.ADS1X1X.name, webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.name, webiopi.devices.digital.mcp23XXX.MCP230XX.name, webiopi.devices.analog.mcp3424.MCP3424.name, webiopi.devices.digital.mcp23XXX.MCP23SXX.name, webiopi.devices.i2c.I2C.slave, and webiopi.devices.digital.mcp23XXX.MCP23SXX.slave.
def webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__wake__ | ( | self | ) |
Definition at line 51 of file tslXXXX.py.
References webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.REG_CONTROL, webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.VAL_PWON, webiopi.devices.i2c.I2C.writeRegister(), and webiopi.devices.digital.mcp23XXX.MCP23SXX.writeRegister().
Referenced by webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.wake().
def webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.getTime | ( | self | ) |
Definition at line 63 of file tslXXXX.py.
References webiopi.devices.sensor.tslXXXX.TSL2561X.__getTime__(), webiopi.devices.sensor.tslXXXX.TSL4531.__getTime__(), and webiopi.devices.clock.Clock.__getTime__().
def webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.setTime | ( | self, | |
time | |||
) |
Definition at line 60 of file tslXXXX.py.
References webiopi.devices.sensor.tslXXXX.TSL2561X.__setTime__(), webiopi.devices.sensor.tslXXXX.TSL4531.__setTime__(), and webiopi.devices.clock.Clock.__setTime__().
def webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.sleep | ( | self | ) |
Definition at line 54 of file tslXXXX.py.
References webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__sleep__().
def webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.wake | ( | self | ) |
Definition at line 48 of file tslXXXX.py.
References webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__wake__().
webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.name |
Definition at line 41 of file tslXXXX.py.
Referenced by webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__str__().
|
static |
Definition at line 33 of file tslXXXX.py.
Referenced by webiopi.devices.sensor.tslXXXX.TSL2561X.__getTime__(), webiopi.devices.sensor.tslXXXX.TSL4531.__getTime__(), and webiopi.devices.sensor.tslXXXX.TSL2561X.getGain().
|
static |
Definition at line 32 of file tslXXXX.py.
Referenced by webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__sleep__(), and webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__wake__().
|
static |
Definition at line 31 of file tslXXXX.py.
|
static |
Definition at line 37 of file tslXXXX.py.
Referenced by webiopi.devices.sensor.tslXXXX.TSL2561CS.__calculateLux__(), webiopi.devices.sensor.tslXXXX.TSL2561T.__calculateLux__(), and webiopi.devices.sensor.vcnl4000.VCNL4000.__getFrequency__().
|
static |
Definition at line 36 of file tslXXXX.py.
Referenced by webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__sleep__().
|
static |
Definition at line 35 of file tslXXXX.py.
Referenced by webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__wake__().