Hi,
> No, I'm using the internal 32k crystal to maintain the time with the basic
timer. .........
> maintaining the UNIX time variable (this is very easy), but need an easy way
to have a
> human enter that time (and I don't think telling them to go to a converter and
get the
> number is viable).

I did exactly the same thing. There is a piece of code floating on the net that
implements time functions. You just need to provide tick increment every second.
Do not have the code handy.. just google for it.
It does add a bit of code space ~3 kB, and some funcs have internal
static strings that will eat into your ram.
As I recall the whole board was drawing 15 uA and most of it was going into
the 3.3V regulator output ;-). Should provide 7.7 years of operation from
1000 mA battery.

Sergei



Reply via email to