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.
 
I was trying to use 74hc595's but the math is not correct
60(seconds) X 8 (# of outputs) = 56 so we have 4 unused outputs
12(hours) / 8 (outputs) = 1.5
was contemplating counting DATA pulses so every DATA pulses (one every minute) would advance the shift register 1 bit.
 
MrDEB,

It is abundantly clear that despite hundreds of messages about using the shift registers you are still clueless about what they do.

You claim to have one shift register working with 8 LEDs. I challenge you to do the following exercise to help you understand. Each step here is only 2 lines of code. Post your code if you can make this simple exercise work. If you can't do this simple exercise, give up on using shift registers entirely.

Exercise: Light up the LEDs in the pattern shown, wait 5 seconds and move on to the next.

●○○○○○○○
○○○○○○○●
○○○●●○○○
●○●○○●●○
○○○○○○○○
○○○○●●●●
●●●●○○○○
●●●●●●●●
●○○○○○○○
●●○○○○○○
●●●○○○○○
●●●●○○○○
●●●●●○○○
●●●●●●○○
●●●●●●●○
●●●●●●●●
○●●●●●●●
○○●●●●●●
○○○●●●●●
○○○○●●●●
○○○○○●●●
○○○○○○●●
○○○○○○○●
○○○○○○●○
○○○○○●○○
○○○○●○○○
○○○●○○○○
○○●○○○○○
○●○○○○○○
●○○○○○○○
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…