Hi Rob,

2011/4/7 Rob Hamerling <[email protected]>

> I don't remember exactly why I chose for the bcd-notation with MSB first
>> (yymmdd and hhmmdd), but this is not so comfortable when comparing values of
>> date and time for larger or smaller. Therefore the library contains
>> functions which return binary values for relative second or minute of the
>> day. But there are currently no functions for day of the year or days since
>> 1 Jan. 2000. Would it be useful to add these?
>
>
I'm not so sure if it can be useful but what bug me is procedure signature
and parameter aren't encoded the same. Ex:

rtc_get_hhmmss(param_ssmmhh)

It would be much more readable if signatures would reflect actual parameter
encoding.


>
>> Results: LED is blinking 5 times: on, off, on, off, on. Every 1s. But it
>> should blink 10 times, as repeat 10 and period = 1s.
>>
>
> I cannot put the finger on the hot spot by reading your code, but I'll copy
> your program and try to find what's wrong.


Forget it, I'm still digging this.


>
>
>  I would prefer read a register to know if alarm is currently ringing...
>>
>
> What do you mean exactly? Should the library provide a bit or function for
> this?


I mean that I couldn't find something in the datasheet (thus in device file)
I could read in order to know if alarm is currently ringing. Adding a
function for this just means you've found this ! If so, I'd be happy to hear
!

Cheers,
Seb

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

Reply via email to