#if ARDUINO >= 100#include <Arduino.h> #else#include <WProgram.h> #endif
Excuse me if this has been brought up before, but the TimeAlarms library doesn't have Arduino version check and fails on my Arduino. The Time library does, so I just used it as an example to fix my local TimeAlarms library.In TimeAlarms.cpp:Code: [Select]#include <WProgram.h>in Time.cpp:Code: [Select]#if ARDUINO >= 100#include <Arduino.h> #else#include <WProgram.h> #endifI will be publishing a how-to for my Arduino project and step one for the end user will be to download the Time/TimeAlarm library, so I don't want them to have problems like i did.Thanks yall for writing this library, I really enjoy it!
Not sure if you are aware of this, but alarmRepeat does not work for midnight. E.G.