Type:
Compiler/Assembler:
;code successfully working with ATTINY804 ,Hitachi1602 I2C LCD, ALIEXPRESS DS1307 RTC
;
;press menu button for a moment to enter menu function
;press next button to change values of of the selected/displayed option (values increment and start from beginning)
;press save button to save selected value , the next option will be automatically loaded one by one (hour,min,day,month,date,year > time)
;PA2 next button active 0 idle 1
;PA1 save button active 0 idle 1
;PA3 menu button active 0 idle 1
2 files attached one original and the next one little bit shrinked code .
Attachment(s):
Links:
DS1307 clock with menu , Attiny804, Assembly