PDA

View Full Version : RTC alarm demo



manitou
02-16-2014, 10:58 PM
Here is a simple sketch to demonstrate teensy 3* RTC's alarm feature.
https://github.com/manitou48/teensy3/blob/master/rtc_alarm.ino
Maple and DUE RTC libs implement an alarm method with callback. It wouldn't take much to add a rtc_set_alarm(secs,callback) to the teensy3_clock_class, or not ...