On 30 Oct 2008, at 23:44 , Sebastien LELONG wrote:
>> So pick your start time: 12:00? Date: 12 october 1492?
>>> Yes, why not !
Done. 12:30 actually.
> Thinking again about your isr routine, isn't this more a seconds
> counter ? I
> mean, if I want to count seconds, could I use it ? In this case, the
> referential, either a date or a existing number of seconds (start
> from 0), is
> up to users, isnt't ?
Yes. But if you do stuff like:
when seconds % 200 == 0
this will happen only once every 255 seconds, NOT every 200 seconds.
>> So I will use now.jal in a more elaborate time setup.
>>
>> PS. Where to put the calendar lib?
>
> Dunno. "jal", or "external/time" ? Yes, it's not an external
> device, but it's
> external to the core libs. I can't explain, but this is where I'd
> put your
> libs (rtc_isr and calendar). Anyway, do your best :)
Done.
RTC sample now much simpler.
---
ir EE van Andel [EMAIL PROTECTED] http://www.fiwihex.nl
Fiwihex B.V. Wierdensestraat 74, NL7604BK Almelo, Netherlands
tel+31-546-491106 fax+31-546-491107
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---