|
Forum Index : Microcontroller and PC projects : OPTION RTC AUTO ENABLE
| Author | Message | ||||
| VK2AHB Regular Member Joined: 28/07/2022 Location: AustraliaPosts: 51 |
I find that by powering off that I sometimes lose this option. Other options remain, but this one will disappear. Is there a reason for this? Paul VK2AHB |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10628 |
This happens if the firmware doesn't see the RTC during any reset and is intended functionality in this case. |
||||
| phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2832 |
Perhaps adding this to your program might work. Sub MM.Startup If Right$(Date$) = "2000" Then RTC GetTime End Sub . |
||||
| VK2AHB Regular Member Joined: 28/07/2022 Location: AustraliaPosts: 51 |
That's exactly what I've done. I then prompt for date and time input to set it. Still doesn't explain why the option disappears though. Paul |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8304 |
Is your RTC module (or whatever) making good contact and have a good battery? Edited 2022-10-21 00:16 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |