I’m trying to use the Time library to turn lights on and off at set intervals. I downloaded the Time library here: http://playground.arduino.cc/Code/Time.
I copied the DS1307RTC, Time and TimeAlarms folders and pasted them in the libraries folder within the Arduino folder.
When I open “TimeAlarmExample.pde” and attempt to compile, I get the following error:
In file included from /Users/jamesgladden/Documents/Arduino/libraries/Time/DateStrings.cpp:10:0:
/Users/jamesgladden/Documents/Arduino/libraries/Time/DateStrings.cpp:18:18: error: variable ‘monthStr1’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char monthStr1 PROGMEM = “January”;
The error repeats for about 12 other variables.
The download is new and the code is from one of the examples. Did I do something wrong in installing the library or is there something I need to do before I use it?