Pages: [1]   Go Down
Author Topic: Why is the TimeAlarms library so popular?  (Read 255 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!  smiley-cool smiley-lol
Logged

Dee Why NSW
Offline Offline
Edison Member
*
Karma: 48
Posts: 2313
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

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

Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want a delete function.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 310
Posts: 26632
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just drop the alarm from your linked list.
Logged

"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.

Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: