using a RTC in SF basic

MrDEB

Well-Known Member
I have a DS-1302 RTC module but how to use it?
I recall Jon Chandler made a vu meter clock but what he used for timing?
Am planning on a clock that has no hands, just LEDs but precision would be nice.
 
Here is my Python code to Get the Time, Decode the Hours and Minutes, and create the 20 BYTE data string sent over MQTT back to the Clock.

Updated MQTT video showing actual clock in operation rolling over from 12:59 to 1:00
Be sure and open the descriptions using the three dots on the video link.
 

Attachments

  • python code.txt
    3.7 KB · Views: 1
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…