I am a newbie to this stuffc and I figured I could tackle the LED Grandfather Clock project that was in the July issue of Popular Science and complete it with my 8 yr. old son. I am trying to upload the code to the Arduino and get all the below errors.
grandfather_clock_code.cpp: In function 'void setup()':
grandfather_clock_code:83: error: 'RTC' was not declared in this scope
grandfather_clock_code:83: error: 'setSyncProvider' was not declared in this scope
grandfather_clock_code:84: error: 'timeStatus' was not declared in this scope
grandfather_clock_code:84: error: 'timeSet' was not declared in this scope
grandfather_clock_code.cpp: In function 'void loop()':
grandfather_clock_code:126: error: 'time_t' was not declared in this scope
grandfather_clock_code:126: error: expected ;' before 'time' grandfather_clock_code:129: error: 'time' was not declared in this scope grandfather_clock_code:129: error: 'isAM' was not declared in this scope grandfather_clock_code:135: error: 'time' was not declared in this scope grandfather_clock_code:135: error: 'minute' was not declared in this scope grandfather_clock_code:140: error: 'hour' was not declared in this scope grandfather_clock_code:140: error: 'second' was not declared in this scope grandfather_clock_code:141: error: 'day' was not declared in this scope grandfather_clock_code:141: error: 'month' was not declared in this scope grandfather_clock_code:141: error: 'monthShortStr' was not declared in this scope grandfather_clock_code:141: error: 'year' was not declared in this scope grandfather_clock_code:145: error: 'hourFormat12' was not declared in this scope grandfather_clock_code:151: error: 'time' was not declared in this scope grandfather_clock_code:151: error: 'minute' was not declared in this scope grandfather_clock_code.cpp: In function 'void setTimeByCompileTime()': grandfather_clock_code:257: error: 'monthShortStr' was not declared in this scope grandfather_clock_code:262: error: 'setTime' was not declared in this scope grandfather_clock_code:263: error: 'time_t' was not declared in this scope grandfather_clock_code:263: error: expected ;' before 'set'
grandfather_clock_code:264: error: 'RTC' was not declared in this scope
grandfather_clock_code:264: error: 'set' was not declared in this scope