-
Notifications
You must be signed in to change notification settings - Fork 21
Description
After loding one of the examples like internalClockSync many compiler errors.
Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino:28:8: error: 'time_t time' redeclared as different kind of symbol
time_t time;
^~~~
In file included from z:\documents\arduino\libraries\DCF77/DCF77.h:9:0,
from Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino:22:
c:\users\robkalmeijer\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\time.h:122:21: note: previous declaration 'time_t time(time_t*)'
time_t time(time_t *timer);
^~~~
Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino: In function 'void loop()':
Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino:45:5: error: 'setTime' was not declared in this scope
setTime(DCFtime);
^~~~~~~
Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino:45:5: note: suggested alternative: 'isotime'
setTime(DCFtime);
^~~~~~~
isotime
Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino: In function 'void digitalClockDisplay()':
Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino:52:16: error: 'hour' was not declared in this scope
Serial.print(hour());
^~~~
Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino:53:15: error: 'minute' was not declared in this scope
printDigits(minute());
^~~~~~
Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino:53:15: note: suggested alternative: 'init'
printDigits(minute());
^~~~~~
init
Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino:54:15: error: 'second' was not declared in this scope
printDigits(second());
^~~~~~
Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino:54:15: note: suggested alternative: 'rewind'
printDigits(second());
^~~~~~
rewind
Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino:56:16: error: 'day' was not declared in this scope
Serial.print(day());
^~~
Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino:58:16: error: 'month' was not declared in this scope
Serial.print(month());
^~~~~
Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino:60:16: error: 'year' was not declared in this scope
Serial.print(year());
^~~~
Z:\documents\arduino\libraries\DCF77\examples\InternalClockSync\InternalClockSync.ino:60:16: note: suggested alternative: 'char'
Serial.print(year());
^~~~
char
exit status 1
Compilation error: 'time_t time' redeclared as different kind of symbol