PDA

View Full Version : TimeAlarms library



tytower
12-29-2013, 02:59 AM
Whoever wrote this explanation did not make it suitably clear that you must put a delay in the loop no mater what . Otherwise the timers don't work.
I suggest there should be someone proof reading these things in English first because when the translaters come along it becomes a mish mash of correct words in an incorrect or misleading sentence.

It is then just total rubbish words and unfathomable.

http://www.pjrc.com/teensy/td_libs_TimeAlarms.html

See under normal running useage.

duff
12-29-2013, 03:17 AM
must put a delay in the loop no mater what
It is then just total rubbish words and unfathomable.


Don't you mean matter

stevech
12-29-2013, 06:25 AM
recurring timers are so much more difficult when done correctly, i.e., supporting time zones and daylight savings.
Or just implicitly make everything UTC and have a timer for sunset/sunrise +/- which is a table lookup.

Nantonos
12-29-2013, 01:10 PM
Alarm.delay(milliseconds);

Alarms and Timers are only checks and their functions called when you use this delay function.

Whilst I agree that the use of English here is not the very best, it does seem to be clear enough. The other functions set up alarms and timers; which are only executed as a consequence of an Alarm.delay call.