lmirel / MorphingClockRemix

a remix on the work of HarryFun's MorphingClock
https://www.instructables.com/id/Morphing-Digital-Clock/
78 stars 30 forks source link

NTPClient.cpp:13: error: 'DoubleResetDetector' does not name a type #17

Closed Moko0815 closed 5 years ago

Moko0815 commented 5 years ago

NTPClient.cpp:13: error: 'DoubleResetDetector' does not name a type DoubleResetDetector drd(DRD_TIMEOUT, DRD_ADDRESS); ^ sketch\NTPClient.cpp: In function 'void configModeCallback(WiFiManager*)':

NTPClient.cpp:60: error: 'drd' was not declared in this scope drd.stop(); ^ sketch\NTPClient.cpp: In member function 'void NTPClient::Setup(PxMATRIX*)':

NTPClient.cpp:152: error: 'drd' was not declared in this scope

if (drd.detectDoubleReset()) { ^ NTPClient.cpp:216: error: 'drd' was not declared in this scope

drd.stop(); ^ exit status 1 'DoubleResetDetector' does not name a type

whats wrong?

Moko0815 commented 5 years ago

Sorry, wrong sketch... :(

include

                 ^

compilation terminated.

exit status 1 Fehler beim Kompilieren für das Board NodeMCU 1.0 (ESP-12E Module).

Which timelib is needed?

lmirel commented 5 years ago

Timelib is requred by https://github.com/2dom/NtpClient and is the one from https://github.com/PaulStoffregen/Time.git

Good luck and enjoy!