RaspberrPi project source code
guowenxue
2 days ago d03f549fa5327ff2e138547e702877cb12a82189
project/lightd/hal/tsl2561.h
@@ -24,7 +24,7 @@
#ifndef  _TSL2561_H_
#define  _TSL2561_H_
#define TSL2561_I2CDEV                 "/dev/i2c-0"
#define TSL2561_I2CDEV                 "/dev/i2c-1"
#define TSL2561_I2CADDR                 0x39
extern int tsl2561_get_lux(float *lux);