Will the Alarms or timers still work if the program is sitting at a while loop? I would have expected for it to interrupt the while loop to execute the function.
It could if you have the Alarm.delay() in the loop.
This resolved the issue, can you explain why? I would prefer not to have to include a delay in the loop.
Read the description on what it does. It's needed to check the time and trigger events. It doesn't matter what you prefer.
Your other option is not to use a blocking while loop.
Alarm.delay() really does not delay very much where Alarm.delay(100) delays by 100ms. Use Alarm.delay() only. .
Thanks, I will use Alarm.delay(0) as suggested in the readme file.
I have another question that i may be over looking. Is it possible to get/know the Alarm ID without the getTriggeredAlarmId(); function. I would like to use the low level functions before an alarm may be triggered. How do the Alarm IDs get assigned??
How do the Alarm IDs get assigned??
Have you looked at the TimeAlarms.h file? Each of the methods for creating an alarm returns the ID of the alarm created.
PaulS: Have you looked at the TimeAlarms.h file? Each of the methods for creating an alarm returns the ID of the alarm created.