Hi All, I’m working on a project using FEZ Rhino and I want to keep the date & time even with the power off, I’ve tried to connect a battery (CR2032) to V-BAT to board pin (battery positive to V-BAT pin and battery negative to GND pin).
At start of my main program I set up the time to RTC using RealTimeClock.SetTime( new DateTime(2010, 1, 1, 1, 1, 1)); and previously asking if the RTC datetime it’s a valid datetime (btw, function that the framework says that is obsolet)
Everything it’s working well when I have the FEZ Rhino board with power (USB or through 5V pin), but when I cut off the power, unpluging the USB cable or unpluging the 5v power source, the RTC don’t keep the date & time.
And isvalid function of the .NET micro framework it’s always returning me that the RTC time it’s invalid.
Could you please, give me some advice on this issue, because I’ve been loosing time on this since two weeks ago and my time frame to deliver it’s almost null.
I really appreciate your help and hope you can help me or give some code sample or advice of how to implement this.
Thanks in advance