Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TSL2561 by
Revision 2:53978e994253, committed 2016-11-26
- Comitter:
- lucianovici
- Date:
- Sat Nov 26 14:58:19 2016 +0000
- Parent:
- 1:ab906ac6e90b
- Commit message:
- Update default pins for I2C
Changed in this revision
TSL2561.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r ab906ac6e90b -r 53978e994253 TSL2561.h --- a/TSL2561.h Thu Jan 09 10:16:51 2014 +0000 +++ b/TSL2561.h Sat Nov 26 14:58:19 2016 +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 I2C_SDA +#define TSL2561_I2C_PINNAME_SCL I2C_SCL #define TSL2561_VISIBLE 2 // channel 0 - channel 1 #define TSL2561_INFRARED 1 // channel 1