Has anyone worked with a DS1307 RTC before? I would also like to scroll the time with the temp and add some buttons to fix the time so a computer is not needed. How can I add a clock code to the code i have? Can this easily be done?
[quote author=Nick Gammon link=topic=73657.msg563419#msg563419 date=1318107219]
byte patterns[numPatterns][10]={space,degree,F};// the patterns order
I see you have changed it to 2 digits (let's hope it doesn't get over 99 F eh?).
You need to allow for the two digits, eg.
byte patterns[numPatterns][10]={space, space, degree, F};// the patterns order
[/quote]
sorry that image was so big. Your idea worked though, I didn't allow for the 2 digits. I did change the temp to 2 digits because the display always had a "0" before the 2 digit temp. I can now display the "degrees F." So, I'm understanding better now. Thanks guys