Difference between revisions of "Sensors: TSL2591"

From HiveTool
Jump to: navigation, search
(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
+
#: 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
+
#: https://github.com/bbx10/tsl2591-node/blob/master/tsl2591.js
 +
#Tested it and fixed a "bug".
 +
 
 +
===Code===

Revision as of 16:49, 20 May 2015

TSL2591 library conversion

Procedure

  1. Stared with Adafruit's Adafruit_TSL2591_Library
    https://github.com/adafruit/Adafruit_TSL2591_Library
  2. Replaced the Adrino's reads and writes with call to the wiringPi library
  3. Sanity checked the code against this JS program:
    https://github.com/bbx10/tsl2591-node/blob/master/tsl2591.js
  4. Tested it and fixed a "bug".

Code