Assuming i have a RTC physically connected the cpu,
how do I interface the RTC software wise,
to the C time functions, in time.h.
Thanks,
Anders J
You question is rather lacking in detail!
What kind of external real time clock are you trying to use? Often these might use SPI, in which case you will have to write routines to intialise and use the SPI communications.
James
James. thanks for your interest.
My problem is not how to communicate with the clock.
My query is about the way I make the C time routines
use my RTC data, regardless of how my software accesses the RTC.
How do I tell Time() where to read MY realtime, so that it,
and other routines that call it can process date and time properly.
Anders J
Sounds like you will need to re-write the C libraries. It might be easier to use your own functions.
James