I would like your help for a function I am creating. I want to set an output to true between a period of time and reset it in between another period of time.
the time values I am going to send them to the particle through the web. What is the easiest way to do this?
Is there any library for setting an Alarm to run between two time periods? For example to set output true from 5:00-6:00 AM.
A library isn’t necessary, but I created the DailyTimerSpark library just for the use-case you have. I have not ported to to Libs 2.0 but you can just copy the files into your project file.