Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working #25

Open
ghost opened this issue Jul 10, 2024 · 0 comments
Open

Not working #25

ghost opened this issue Jul 10, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants