Ds3231 adjust the time using pushbutton

Our range of tiny modules are designed to make it easy for you to quickly add functionality to your projects. [Module List]
Post Reply
snowman7807
Posts: 1
Joined: Fri Aug 03, 2018 5:55 pm

Ds3231 adjust the time using pushbutton

Post by snowman7807 » Fri Aug 03, 2018 6:03 pm

Hello,
I have been using the attached code to build an stand alone alarm clock. I have written all the subroutines to adjust each time parameter individually ie, year month, day etc.. . I know how to set the entire clock using the set time function, but I need to know how to adjust each one individually. I am not sure create the selected variable and adjust by 1 when instructed by the +/- configured buttons. Thanks so much in advance
Attachments
I2Cds3232.zip
(1.11 KiB) Downloaded 16 times

Post Reply