I think the title says it. I'm very new to the game, and I've hunted high and low for a working example. There's quite a bit using Arduino, but nothing I understand for picaxe.
I have succeeded in getting interrupts to work, but not in an energy saving way. I haven't learned enough to understand the DS3232 manual either.
I want to be able to set an alarm (or two) on a DS3232 at a fixed hour. I can then have an interrupt wake up a very deep sleeping picaxe 20M2 (+?) every 24 hours, get it to do work, then put it back to sleep. I'm doing this to save as much battery power as possible over a long time.
Has anyone a straightforward example of setting an alarm at a given time that a newby can analyse?
I have succeeded in getting interrupts to work, but not in an energy saving way. I haven't learned enough to understand the DS3232 manual either.
I want to be able to set an alarm (or two) on a DS3232 at a fixed hour. I can then have an interrupt wake up a very deep sleeping picaxe 20M2 (+?) every 24 hours, get it to do work, then put it back to sleep. I'm doing this to save as much battery power as possible over a long time.
Has anyone a straightforward example of setting an alarm at a given time that a newby can analyse?