I'm running the Arduino IDE on a Mac OSX 10.6.6. I've installed the IDE and it works fine. I've been able to compile, download and execute the Blink example successfully.
I got the TLC5940 library as a zip file and extracted the files into a directory I created. The directory structure looks like this:
Documents/Arduino/hardware/libraries/TLC5940
I then go into the IDE and load the TLC5940 BasicUse example via the File menu as follows:
File/Sketchbook/hardware/libraries/TLC5940/BasicUse which brings in the code.
When I try and verify (compile) the code I get a series of errors that I think are caused because the include file was not found.
BasicUse.cpp:50:21: error: Tlc5940.h: No such file or directory
BasicUse.cpp: In function 'void setup()':
BasicUse:55: error: 'Tlc' was not declared in this scope
BasicUse.cpp: In function 'void loop()':
BasicUse:66: error: 'NUM_TLCS' was not declared in this scope
BasicUse:70: error: 'Tlc' was not declared in this scope
So do I have my environment setup wrong?
I can see the include files in the TLC5940 directory just fine.
Thanks for any help you can provide.
Craig Lindley