Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20639

BASCOM-AVR : DS1307 RTC : REPLY

$
0
0
[quote:3fb0d154bf]With a scope on the SCL lines, you can see the clocking of the DS1307 at the giving interval. When the Print date and time, which calls the DATE$/TIME$ functions is rem'd out. No clocking is now seen on the SCL line. [/quote:3fb0d154bf] IIRC, there is no relationship between the DATE$/TIME$ functions and accessing any i2c peripheral. When you use a RTC, you are responsible to keep track of configuring the rtc and then periodically reading it to refresh your own variables that keep track of the current time/clock and display or using that information.

Viewing all articles
Browse latest Browse all 20639

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>