Something else is causing your problem. Are you quite sure that the Time library folder location is correct and that all the files are there?I don't use OS X, perhap someone that does can check if they have any problems compiling the Time library example sketches.
TimeSerial.cpp:12:20: error: Time.h: No such file or directoryTimeSerial:16: error: 'time_t' does not name a typeTimeSerial.cpp: In function 'void setup()':TimeSerial:19: error: 'requestSync' was not declared in this scopeTimeSerial:19: error: 'setSyncProvider' was not declared in this scopeTimeSerial.cpp: In function 'void loop()':TimeSerial:28: error: 'timeStatus' was not declared in this scopeTimeSerial:28: error: 'timeNotSet' was not declared in this scopeTimeSerial:30: error: 'timeSet' was not declared in this scopeTimeSerial.cpp: In function 'void digitalClockDisplay()':TimeSerial:38: error: 'hour' was not declared in this scopeTimeSerial:39: error: 'minute' was not declared in this scopeTimeSerial:40: error: 'second' was not declared in this scopeTimeSerial:42: error: 'day' was not declared in this scopeTimeSerial:44: error: 'month' was not declared in this scopeTimeSerial:46: error: 'year' was not declared in this scopeTimeSerial.cpp: In function 'void processSyncMessage()':TimeSerial:64: error: 'time_t' was not declared in this scopeTimeSerial:64: error: expected `;' before 'pctime'TimeSerial:68: error: 'pctime' was not declared in this scopeTimeSerial:71: error: 'pctime' was not declared in this scopeTimeSerial:71: error: 'setTime' was not declared in this scopeTimeSerial.cpp: At global scope:TimeSerial:76: error: 'time_t' does not name a type
Is there any particular interest in having the DS3231 specific features (such as forcing a temperature conversion, reading the temperature value, toggling the 32KHz pin, etc) added? I've already got the first two there finished, although I can't actually test them.
#define DAYS_PER_YEAR(_year_) (365 + LEAP_YEAR(_year_))#define SECS_PER_YEAR(_year_) ((DAYS_PER_YEAR(_year_)) * SECS_PER_DAY)
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16