Difference between revisions of "Sensors: TSL2591"
(Created page with "#Stared with Adafruit's Adafruit_TSL2591_Library https://github.com/adafruit/Adafruit_TSL2591_Library #Replaced the Adrino's reads and writes with call to the wiringPi librar...") |
|||
Line 1: | Line 1: | ||
+ | ==TSL2591 library conversion== | ||
+ | |||
+ | ===Procedure=== | ||
#Stared with Adafruit's Adafruit_TSL2591_Library | #Stared with Adafruit's Adafruit_TSL2591_Library | ||
− | + | #: https://github.com/adafruit/Adafruit_TSL2591_Library | |
#Replaced the Adrino's reads and writes with call to the wiringPi library | #Replaced the Adrino's reads and writes with call to the wiringPi library | ||
#Sanity checked the code against this JS program: | #Sanity checked the code against this JS program: | ||
− | + | #: https://github.com/bbx10/tsl2591-node/blob/master/tsl2591.js | |
+ | #Tested it and fixed a "bug". | ||
+ | |||
+ | ===Code=== |
Revision as of 15:49, 20 May 2015
TSL2591 library conversion
Procedure
- Stared with Adafruit's Adafruit_TSL2591_Library
- Replaced the Adrino's reads and writes with call to the wiringPi library
- Sanity checked the code against this JS program:
- Tested it and fixed a "bug".