Go Down

Topic: Ayuda con libreria DateTime (Read 322 times) previous topic - next topic

Hola, buenas tardes.

Tengo un problema, estaba trabajando en una aplicacion para activar un servomotor a una determinada hora, encontre una libreria llamada DateTime la cual trae un ejemplo, al ejecutar el codigo de ejemplo me mando el sig error:

/Applications/Arduino.app/Contents/Resources/Java/libraries/DateTime/DateTime.cpp: In member function 'void DateTimeClass::setTime(time_t)':
/Applications/Arduino.app/Contents/Resources/Java/libraries/DateTime/DateTime.cpp:28: error: 'millis' was not declared in this scope
/Applications/Arduino.app/Contents/Resources/Java/libraries/DateTime/DateTime.cpp: In member function 'time_t DateTimeClass::now()':
/Applications/Arduino.app/Contents/Resources/Java/libraries/DateTime/DateTime.cpp:43: error: 'millis' was not declared in this scope

Les adjunto los archivos de la libreria y su ejemplo, gracias


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy