Hello everyone,
I am new with the Arduinio, but I am working with an Arduino Uno and I am using a Mac OSX computer to do my programs.
Recently I tried to install the time library from the following place:
http://playground.arduino.cc/Code/Time
However, after importing the library, I opened and compiling the TimeSerial example, and got the following errors:
TimeSerial:24: error: 'time_t' does not name a type
TimeSerial.pde: In function 'void setup()':
TimeSerial:20: error: 'requestSync' was not declared in this scope
TimeSerial:20: error: 'setSyncProvider' was not declared in this scope
TimeSerial.pde: In function 'void loop()':
TimeSerial:29: error: 'timeStatus' was not declared in this scope
TimeSerial:29: error: 'timeNotSet' was not declared in this scope
TimeSerial:31: error: 'timeSet' was not declared in this scope
TimeSerial.pde: In function 'void digitalClockDisplay()':
TimeSerial:39: error: 'hour' was not declared in this scope
TimeSerial:40: error: 'minute' was not declared in this scope
TimeSerial:41: error: 'second' was not declared in this scope
TimeSerial:43: error: 'day' was not declared in this scope
TimeSerial:45: error: 'month' was not declared in this scope
TimeSerial:47: error: 'year' was not declared in this scope
TimeSerial.pde: In function 'void processSyncMessage()':
TimeSerial:65: error: 'time_t' was not declared in this scope
TimeSerial:65: error: expected `;' before 'pctime'
TimeSerial:69: error: 'pctime' was not declared in this scope
TimeSerial:72: error: 'pctime' was not declared in this scope
TimeSerial:72: error: 'setTime' was not declared in this scope
TimeSerial.pde: At global scope:
TimeSerial:77: error: 'time_t' does not name a type
I have looked at the other forums:
http://forum.arduino.cc/index.php?topic=50138.0
http://forum.arduino.cc/index.php/topic,38158.0.html
http://forum.arduino.cc/index.php?topic=93656.0
I went through the suggestions on the fixes and made sure that the Time folder is in my libraries directory and that I am including Time.h with a capital T. However, the issue still persists.
So does anyone have any suggestions, I would greatly appreciate it. Thank you in advanced.