for EVK odin mbed os 5.5
Dependents: Mbed-Connect-Cloud-Demo Mbed-Connect-Cloud-Demo HTTP-all-sensors mbed-cloud-connect-sensor-light ... more
Fork of TSL2561 by
Diff: TSL2561.h
- Revision:
- 2:5f61075dc855
- Parent:
- 0:df9baf6459b7
diff -r ab906ac6e90b -r 5f61075dc855 TSL2561.h --- a/TSL2561.h Thu Jan 09 10:16:51 2014 +0000 +++ b/TSL2561.h Mon Sep 11 16:45:56 2017 +0000 @@ -4,8 +4,8 @@ #include "mbed.h" -#define TSL2561_I2C_PINNAME_SDA p28 -#define TSL2561_I2C_PINNAME_SCL p27 +#define TSL2561_I2C_PINNAME_SDA PF_0 +#define TSL2561_I2C_PINNAME_SCL PF_1 #define TSL2561_VISIBLE 2 // channel 0 - channel 1 #define TSL2561_INFRARED 1 // channel 1