Yet Another WebIOPi+
 All Classes Namespaces Files Functions Variables Macros Pages
Public Member Functions | List of all members
webiopi.devices.sensor.tslXXXX.TSL45317 Class Reference
Inheritance diagram for webiopi.devices.sensor.tslXXXX.TSL45317:
webiopi.devices.sensor.tslXXXX.TSL4531 webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X webiopi.devices.i2c.I2C webiopi.devices.sensor.Luminosity webiopi.devices.bus.Bus

Public Member Functions

def __init__
 
- Public Member Functions inherited from webiopi.devices.sensor.tslXXXX.TSL4531
def __init__
 
def __setTime__
 
def __getTime__
 
def __getLux__
 
- Public Member Functions inherited from webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X
def __init__
 
def __str__
 
def wake
 
def __wake__
 
def sleep
 
def __sleep__
 
def setTime
 
def getTime
 
- Public Member Functions inherited from webiopi.devices.i2c.I2C
def __init__
 
def __str__
 
def readRegister
 
def readRegisters
 
def writeRegister
 
def writeRegisters
 
- Public Member Functions inherited from webiopi.devices.bus.Bus
def __init__
 
def open
 
def close
 
def read
 
def readBytes
 
def readByte
 
def write
 
def writeBytes
 
def writeByte
 
- Public Member Functions inherited from webiopi.devices.sensor.Luminosity
def __family__
 
def __getLux__
 
def getLux
 

Additional Inherited Members

- Public Attributes inherited from webiopi.devices.sensor.tslXXXX.TSL4531
 time_multiplier
 
- Public Attributes inherited from webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X
 name
 
- Public Attributes inherited from webiopi.devices.i2c.I2C
 channel
 
 slave
 
- Public Attributes inherited from webiopi.devices.bus.Bus
 busName
 
 device
 
 flag
 
 fd
 
- Static Public Attributes inherited from webiopi.devices.sensor.tslXXXX.TSL4531
int VAL_TIME_400_MS = 0x00
 
int VAL_TIME_200_MS = 0x01
 
int VAL_TIME_100_MS = 0x02
 
int REG_DATA_LOW = 0x04
 
int MASK_TCNTRL = 0x03
 
- Static Public Attributes inherited from webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X
int VAL_COMMAND = 0x80
 
int REG_CONTROL = 0x00
 
int REG_CONFIG = 0x01
 
int VAL_PWON = 0x03
 
int VAL_PWOFF = 0x00
 
int VAL_INVALID = -1
 

Detailed Description

Definition at line 252 of file tslXXXX.py.

Constructor & Destructor Documentation

def webiopi.devices.sensor.tslXXXX.TSL45317.__init__ (   self,
  slave = 0x29,
  time = 400 
)

Definition at line 253 of file tslXXXX.py.


The documentation for this class was generated from the following file: