Hi,
I am hoping to get some help reading data from a DS1307 real-time-clock and using the data in a PICAXE program. I know how to set the clock. But how do I read the year data and use it? I'd like to say in the program, "if year > 2016 then". But how do I compare my decimal "2016" with what comes out of the clock in BCD format?
Thanks!
I am hoping to get some help reading data from a DS1307 real-time-clock and using the data in a PICAXE program. I know how to set the clock. But how do I read the year data and use it? I'd like to say in the program, "if year > 2016 then". But how do I compare my decimal "2016" with what comes out of the clock in BCD format?
Thanks!