This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi all,
I am using time.h to get the current time, however when I press the reset button on my board, the time also resets and so it is effectively useless. Is there something I can do to work around this/ does anyone have any suggestions?
Thanks,
Ryan
Thanks Amit. I am attempting to do this, however for some reason after pressing the reset button, the function HibernateIsActive() returns false still, despite the fact that I configured and enabled it before I pressed reset. Is my code wrong for this purpose?
void HibernateInit() { if(!HibernateIsActive()){ HibernateClockConfig(HIBERNATE_OSC_LOWDRIVE); HibernateRTCEnable(); } }
Thanks for the help.
**Attention** This is a public forum