Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:39 21 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : OPTION RTC AUTO ENABLE

Author Message
VK2AHB
Regular Member

Joined: 28/07/2022
Location: Australia
Posts: 51
Posted: 12:51am 20 Oct 2022
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 10628
Posted: 07:06am 20 Oct 2022
Copy link to clipboard 
Print this post

  Quote  Is there a reason for this?


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: Australia
Posts: 2832
Posted: 07:24am 20 Oct 2022
Copy link to clipboard 
Print this post

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: Australia
Posts: 51
Posted: 11:29am 20 Oct 2022
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 8304
Posted: 02:16pm 20 Oct 2022
Copy link to clipboard 
Print this post

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
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025