Hi Seb,

On 2011/04/08 15:39, Sebastien Lelong wrote:

Attached in my current sample. I'm expecting LED to flash ~5 seconds
after PICis powered up, but it does only 1s after. I'm not sure to
understand anymore about repeat, period, etC... :) I'm not using either
of them, just setting an alarm, and check ALRMEN bit for cleared state.

I've spend some time to (better) understand the alarm feature of the rtcc module, and I think "I've seen the light". Herewith I return a slightly modified version of your program (with the current rtcc_hw library). The led blinks 5 times with 10-second intervals.

The API of the new rtcc_hw library will be somewhat different, but I think it is worth the effort. It'll be more user friendly.

Regards, Rob.



--
R. Hamerling, Netherlands --- http://www.robh.nl

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Attachment: jaluino_bee_rtc_hardware.jal
Description: application/jal

Reply via email to