Are there any who can help me
I'm brand new to Arduino and trying to make Berlin Uhr
But all the time problems with error compiling.
"'time_t time' redeclared as different kind of symbol".
This is the whole bug list.
Arduino: 1.8.9 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Berlin-uhr:60:8: error: 'time_t time' redeclared as different kind of symbol
time_t time;
^
In file included from C:\Users\bruger\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include/stdlib.h:11:0,
from C:\Users\Flkoch\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/Arduino.h:27,
from C:\Users\Flkoch\Documents\Arduino\libraries\DCF77/DCF77.h:5,
from C:\Users\bruger\Desktop\3d\Berlin_Clock_BerlinUhr_\Berlin-uhr\Berlin-uhr.ino:5:
C:\Users\bruger\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include/time.h:53:18: error: previous declaration of 'time_t time(time_t*)'
time_t _EXFUN(time, (time_t *_timer));
^
C:\Users\Bruger\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include/_ansi.h:65:30: note: in definition of macro '_EXFUN'
#define _EXFUN(name, proto) name proto
^
C:\Users\bruger\Desktop\3d\Berlin_Clock_BerlinUhr_\Berlin-uhr\Berlin-uhr.ino: In function 'void loop()':
Berlin-uhr:234:20: error: 'setTime' was not declared in this scope
setTime(DCFtime);
^
C:\Users\bruger\Desktop\3d\Berlin_Clock_BerlinUhr_\Berlin-uhr\Berlin-uhr.ino: In function 'void digitalClockDisplay()':
Berlin-uhr:290:21: error: 'hour' was not declared in this scope
Serial.print(hour());
^
Berlin-uhr:292:22: error: 'minute' was not declared in this scope
printDigits(minute());
^
Berlin-uhr:294:22: error: 'second' was not declared in this scope
printDigits(second());
^
Berlin-uhr:297:20: error: 'day' was not declared in this scope
Serial.print(day());
^
Berlin-uhr:300:22: error: 'month' was not declared in this scope
Serial.print(month());
^
Multiple libraries were found for "DCF77.h"
Used: C:\Users\bruger\Documents\Arduino\libraries\DCF77
Not used: C:\Users\bruger\Documents\Arduino\libraries\DCF77-1.0.0
Multiple libraries were found for "TimeLib.h"
Used: C:\Users\bruger\Documents\Arduino\libraries\TimeLib-master
Not used: C:\Users\bruger\Documents\Arduino\libraries\Time
Multiple libraries were found for "RTClib.h"
Used: C:\Users\bruger\Documents\Arduino\libraries\RTClib
Not used: C:\Users\bruger\Documents\Arduino\libraries\RTCLib_by_NeiroN
exit status 1
'time_t time' redeclared as different kind of symbol
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Thanks to the one who will help a new beginner
Berlin-uhr.ino (12.6 KB)