Home › Evil Mad Scientist Forums › Clock Kits › Problem trying to compile and upload V2 firmware on Alpha Clock Five › Re: Problem trying to compile and upload V2 firmware on Alpha Clock Five
January 1, 2013 at 7:28 pm
#21115
boerner
Participant
Hi Windell,
No apologies necessary. If that is the worst that happens life is good :-)
I did try again using the revised instructions on the Wiki and got further but still failed. I added the Alpha Five library (as that seemed to be the missing component from before) and opened up the appropriate sketch. This time when I went to verify and compile, I got these errors:
Alpha_20_ino.cpp: In function ‘void checkButtons()’:
Alpha_20_ino:272: error: ‘minute’ was not declared in this scope
Alpha_20_ino:273: error: ‘hour’ was not declared in this scope
Alpha_20_ino:361: error: ‘adjustTime’ was not declared in this scope
Alpha_20_ino:365: error: ‘RTC’ was not declared in this scope
Alpha_20_ino:365: error: ‘now’ was not declared in this scope
Alpha_20_ino:369: error: ‘adjustTime’ was not declared in this scope
Alpha_20_ino:372: error: ‘RTC’ was not declared in this scope
Alpha_20_ino:372: error: ‘now’ was not declared in this scope
Alpha_20_ino:379: error: ‘adjustTime’ was not declared in this scope
Alpha_20_ino:383: error: ‘RTC’ was not declared in this scope
Alpha_20_ino:383: error: ‘now’ was not declared in this scope
Alpha_20_ino:387: error: ‘adjustTime’ was not declared in this scope
Alpha_20_ino:391: error: ‘RTC’ was not declared in this scope
Alpha_20_ino:391: error: ‘now’ was not declared in this scope
Alpha_20_ino:521: error: ‘RTC’ was not declared in this scope
Alpha_20_ino:521: error: ‘now’ was not declared in this scope
Alpha_20_ino.cpp: In function ‘void EndVCRmode()’:
Alpha_20_ino:928: error: ‘now’ was not declared in this scope
Alpha_20_ino.cpp: In function ‘void setup()’:
Alpha_20_ino:951: error: ‘RTC’ was not declared in this scope
Alpha_20_ino:951: error: ‘setSyncProvider’ was not declared in this scope
Alpha_20_ino:952: error: ‘timeStatus’ was not declared in this scope
Alpha_20_ino:952: error: ‘timeSet’ was not declared in this scope
Alpha_20_ino:967: error: ‘setTime’ was not declared in this scope
Alpha_20_ino.cpp: In function ‘void loop()’:
Alpha_20_ino:1073: error: ‘second’ was not declared in this scope
Alpha_20_ino:1128: error: ‘hour’ was not declared in this scope
Alpha_20_ino:1129: error: ‘minute’ was not declared in this scope
Alpha_20_ino.cpp: In function ‘void processSerialMessage()’:
Alpha_20_ino:1221: error: ‘time_t’ was not declared in this scope
Alpha_20_ino:1221: error: expected `;’ before ‘pctime’
Alpha_20_ino:1225: error: ‘pctime’ was not declared in this scope
Alpha_20_ino:1228: error: ‘pctime’ was not declared in this scope
Alpha_20_ino:1228: error: ‘setTime’ was not declared in this scope
Alpha_20_ino:1234: error: ‘RTC’ was not declared in this scope
Alpha_20_ino:1234: error: ‘now’ was not declared in this scope
Alpha_20_ino.cpp: In function ‘void UpdateDisplay(byte)’:
Alpha_20_ino:1676: error: ‘adjustTime’ was not declared in this scope
Alpha_20_ino:1678: error: ‘RTC’ was not declared in this scope
Alpha_20_ino:1678: error: ‘now’ was not declared in this scope
Alpha_20_ino.cpp: In function ‘void AdjDayMonthYear(int8_t, int8_t, int8_t)’:
Alpha_20_ino:1766: error: ‘year’ was not declared in this scope
Alpha_20_ino:1767: error: ‘hour’ was not declared in this scope
Alpha_20_ino:1767: error: ‘minute’ was not declared in this scope
Alpha_20_ino:1767: error: ‘second’ was not declared in this scope
Alpha_20_ino:1767: error: ‘day’ was not declared in this scope
Alpha_20_ino:1767: error: ‘month’ was not declared in this scope
Alpha_20_ino:1767: error: ‘setTime’ was not declared in this scope
Alpha_20_ino:1769: error: ‘RTC’ was not declared in this scope
Alpha_20_ino:1769: error: ‘now’ was not declared in this scope
Alpha_20_ino.cpp: In function ‘void TimeDisplay(byte, byte)’:
Alpha_20_ino:1783: error: ‘second’ was not declared in this scope
Alpha_20_ino:1804: error: ‘hour’ was not declared in this scope
Alpha_20_ino:1830: error: ‘minute’ was not declared in this scope
Alpha_20_ino:1972: error: ‘day’ was not declared in this scope
Alpha_20_ino:1974: error: ‘month’ was not declared in this scope
Alpha_20_ino:2001: error: ‘year’ was not declared in this scope
Alpha_20_ino.cpp: In function ‘void SerialPrintTime()’:
Alpha_20_ino:2088: error: ‘hour’ was not declared in this scope
Alpha_20_ino:2089: error: ‘minute’ was not declared in this scope
Alpha_20_ino:2090: error: ‘second’ was not declared in this scope
Alpha_20_ino:2092: error: ‘weekday’ was not declared in this scope
Alpha_20_ino:2092: error: ‘dayStr’ was not declared in this scope
Alpha_20_ino:2094: error: ‘day’ was not declared in this scope
Alpha_20_ino:2096: error: ‘month’ was not declared in this scope
Alpha_20_ino:2096: error: ‘monthShortStr’ was not declared in this scope
Alpha_20_ino:2098: error: ‘year’ was not declared in this scope
Alpha_20_ino.cpp: In function ‘void EESaveSettings()’:
Alpha_20_ino:2265: error: ‘RTC’ was not declared in this scope
Alpha_20_ino:2265: error: ‘now’ was not declared in this scope
After the failure I thought perhaps I needed to actually import the Time and Alpha Five libraries once the sketch was loaded before compiling. I tried that and the same errors occur. Sorry to be a bother but am I still just missing something simple?