Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:56 11 May 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 : RTC on CGCOLORMAX 1 ?

Author Message
f1fco

Senior Member

Joined: 18/03/2012
Location: France
Posts: 155
Posted: 11:21am 11 Jul 2014
Copy link to clipboard 
Print this post

hello,
I own a CGCOLORMAX 1 from Circuit Gizmo
I update software to MMBasic v4.5

how to have a RTC ?
function RTC SETTIME and RTC GETTIME dont work


Pierr, from France
73s de F1FCO
 
f1fco

Senior Member

Joined: 18/03/2012
Location: France
Posts: 155
Posted: 11:29am 11 Jul 2014
Copy link to clipboard 
Print this post

I find the solution :
time$="23:20:00"
date$="11/07/2014"

and when I boot the board, time and date are OK !!!

Pierre
73s de F1FCO
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9489
Posted: 01:56pm 11 Jul 2014
Copy link to clipboard 
Print this post

RTC GETTIME and RTC SETTIME are MicroMite commands, which won't work on the full size Maximite units, as you have discovered. Well done on working it out and posting back though.
Smoke makes things work. When the smoke gets out, it stops!
 
f1fco

Senior Member

Joined: 18/03/2012
Location: France
Posts: 155
Posted: 02:39am 12 Jul 2014
Copy link to clipboard 
Print this post

RTC GETTIME and RTC SETTIME works also on a Maximite but with a PCF8563 RTC card

CGColorMax1 as a RTC DS1307 on board, (controled by I2C)
but with MMBasic version 4.5 date and time are read at boot
TIME$ and DATE$ are ok

Pierre
73s de F1FCO
 
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