Arduino due DS1307 RTC library

Good evening,

I just finished sorting through the DS1307 RTC library that is incombatable with the Due, and I have successfully ported it to the due.

I ran one of the examples and was happily reading today's date and time from the external chip.

I have attached the modified library folder.

Also, I believe the examples are all in the old Arduino Sketch format. You may have to open them and do a save-as to a different location in order to get them to compile.

P.S, if you are using adafruit's DS1307 shield, be careful about the voltage being outputted on the I2C pins. I actually removed the pull-up resistors from mine and used my own resistors on a protoboard so that I could run 3.3V to the data pins.

Good Luck!

RTClib.zip (5.54 KB)