Hello, I need to set the clock with the buttons for the real time clock application in the DS1307. I made several attempts but could not get results. I can set the clock with the buttons I want and save it.
Hi,
First, just get the DS1307 to work with simple code. Look At THIS page
Look at this point in the code:
// This line sets the RTC with an explicit date & time, for example to set
// May 21, 2015 at 6pm you would call: (use 24 hour time)
// rtc.adjust(DateTime(2015, 5, 21, 18, 0, 0));
Make those numbers come from whatever code you are doing with the buttons.
Teşekkürler. hangi kütüphaneyi kullanıyorsunuz ? ben rinky DS1307 kütüphanesini inceledim.Burdada Settime diye bir kod var fakat butonlarla bu değişkenleri değiştiremiyorum.