Go Down

Topic: Why is the TimeAlarms library so popular? (Read 297 times) previous topic - next topic

Arduinoisme

This is a very minor problem so thanks for your trouble.

There is no other library other than the TimeAlarms library, which can set alarms at particular intervals. Why can't I have a library that reads data from another library (DS1307new: since I am using a DS1307RTC to keep track of the time: http://www.pjrc.com/teensy/td_libs_DS1307RTC.html) and then use that data to set the alarm? I also require some method to delete an alarm, which is the major reason why I didn't choose the TimeAlarms library.

Thanks for you help!  8) XD

Nick_Pyner

I imagine it is only popular amongst those that want to use it. You can always make your own alarms, e.g.

Code: [Select]
 GetClock();
 if (hour == 0 && minute == 0 && second <2)
 {
   getFileName();
 }


I'm sure you could use transient variables instead of fixed values.

Arduinoisme


AWOL

Just drop the alarm from your linked list.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Arduinoisme

I am so a noob. Why didn't I think of that before? Thanks for your help.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy