pyupm_tsl2561 module

class pyupm_tsl2561.TSL2561(*args)[source]

Bases: object

API for the TSL2561 Digital Light Sensor.

ID: tsl2561

Name: Digital Light Sensor

Other Names: Grove Digital Light Sensor

Category: light

Manufacturer: seeed

Link:http://www.seeedstudio.com/wiki/Grove_-_Digital_Light_Sensor

Connection: i2c

Kit: eak TSL2560 and TSL2561 are light-to-digital converters that transform light intensity to a digital signal output capable of a direct I2C ( TSL2561) interface

C++ includes: tsl2561.hpp

getLux()[source]

int getLux()

Gets the calculated lux reading from TSL2561

Calculated lux value from the sensor