Library which provides functions to control a TAOS TSL2561 Light-To-Digital Converter via I2C.

Fork of TSL2561_I2C by Karl Maxwell

Files at this revision

API Documentation at this revision

Comitter:
merckeng
Date:
Sat Dec 03 22:04:22 2016 +0000
Parent:
6:17fef2caa563
Commit message:
use proper i2c address for our demo;

Changed in this revision

TSL2561_I2C.h Show annotated file Show diff for this revision Revisions of this file
diff -r 17fef2caa563 -r c7725e28bdeb TSL2561_I2C.h
--- a/TSL2561_I2C.h	Thu Apr 24 10:48:29 2014 +0000
+++ b/TSL2561_I2C.h	Sat Dec 03 22:04:22 2016 +0000
@@ -3,7 +3,7 @@
 #include "mbed.h"
 
 //Defines 
-#define TSL_SLAVE_ADDRESS       0x39
+#define TSL_SLAVE_ADDRESS       0x29
 
 #define TSL_CONTROL             0x00
 #define TSL_TIMING              0x01