clock code for a microcontroller

i have a problem. i'm trying to write code in c++ to go onto a microcontroller. how do i write the code to read the real time clock on the controller and use the time to trigger certain events?

Reply to
Kingjon
Loading thread data ...

Typically the device's datasheet will have complete documentation on which registers to tickle and, often, example code.

--
Rich Webb   Norfolk, VA
Reply to
Rich Webb

what is the part number of your real time clock? what is your mcu? what is your application? best regards, Matthieu

Reply to
Matthieu Benoit

Yes, that can be a problem. I suggest using C instead.

Reply to
Eric Smith

Reply to
Marko Knezevic

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.