Light sensor library
Fork of TSL2561 by
Diff: TSL2561.h
- Revision:
- 2:9a0788c18d78
- Parent:
- 0:df9baf6459b7
--- a/TSL2561.h Thu Jan 09 10:16:51 2014 +0000 +++ b/TSL2561.h Tue Jul 24 18:48:34 2018 +0000 @@ -1,11 +1,10 @@ - #ifndef _TSL2561_H_ #define _TSL2561_H_ #include "mbed.h" -#define TSL2561_I2C_PINNAME_SDA p28 -#define TSL2561_I2C_PINNAME_SCL p27 +#define TSL2561_I2C_PINNAME_SDA PB_7 +#define TSL2561_I2C_PINNAME_SCL PB_6 #define TSL2561_VISIBLE 2 // channel 0 - channel 1 #define TSL2561_INFRARED 1 // channel 1