Hi guys,
I am new to arduino (and programming in general) but am trying to build a system which will keep a 12v led string + natural light at a constant level. I suspect this is relatively easy, and have started with an even simpler, but coupling a photoresistor and led together which works fine.
Now I am trying to install the [TSL 2561 software which was posted on the SparkFun site, which is not going so well apparently.
Have used the [Library installation guide with ‘automatic installation’ but now am getting the following error:
Arduino: 1.6.0 (Windows 8), Board: "Arduino Uno"
C:\Users\xyz\Documents\Arduino\libraries\SFE_TSL2561\SFE_TSL2561.cpp:407:6: error: prototype for 'byte SFE_TSL2561::writeUInt(unsigned char, unsigned int)' does not match any in class 'SFE_TSL2561'
byte SFE_TSL2561::writeUInt(unsigned char address, unsigned int value)
^
In file included from C:\Users\xyz\Documents\Arduino\libraries\SFE_TSL2561\SFE_TSL2561.cpp:15:0:
C:\Users\xyz\Documents\Arduino\libraries\SFE_TSL2561/SFE_TSL2561.h:155:11: error: candidate is: boolean SFE_TSL2561::writeUInt(unsigned char, unsigned int)
boolean writeUInt(unsigned char address, unsigned int value);
^
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Assuming that there is some sort of problem finding the right files in the library? What should my library folders look like/what am I missing here?](http://arduino.cc/en/Guide/Libraries)](https://learn.sparkfun.com/tutorials/tsl2561-luminosity-sensor-hookup-guide/all)