Light sensor library
Fork of TSL2561 by
Revision 2:9a0788c18d78, committed 2018-07-24
- Comitter:
- bhimebau
- Date:
- Tue Jul 24 18:48:34 2018 +0000
- Parent:
- 1:ab906ac6e90b
- Commit message:
- Initial Commit from the web interface. Switching to command line. ;
Changed in this revision
TSL2561.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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