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

Public Member Functions

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
 

Public Attributes

 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

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 30 of file tslXXXX.py.

Constructor & Destructor Documentation

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().

Member Function Documentation

def webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__sleep__ (   self)
def webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__str__ (   self)
def webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__wake__ (   self)
def webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.getTime (   self)
def webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.setTime (   self,
  time 
)
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__().

Member Data Documentation

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__().

int webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.REG_CONFIG = 0x01
static
int webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.REG_CONTROL = 0x00
static
int webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.VAL_COMMAND = 0x80
static

Definition at line 31 of file tslXXXX.py.

int webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.VAL_INVALID = -1
static
int webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.VAL_PWOFF = 0x00
static

Definition at line 36 of file tslXXXX.py.

Referenced by webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__sleep__().

int webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.VAL_PWON = 0x03
static

Definition at line 35 of file tslXXXX.py.

Referenced by webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__wake__().


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