Arduino Ds1307 Kullanımı. The ds1307 class has a set method this method is used to set time and date. Using the above line of code we are giving the date and time to the function.

The ds1307 used in the first module works very well however the external temperature can. Pins a4 and a5. The real time clock module is the one in the figure below front and back view.
Vcc gnd sda scl.
Code 1. It can be used to save settings or really anything. There is sample code i used to try. This is seeed very own rtc based on the clock chip ds1307 and supports i2c communication.