I use 3 function, 1 button:
>short press, on/off
>press 2 sec next function ( 8 hr on for example)
>press/hold 5 sec to go to program function
Led indicates mode,
prioritize functions so you wait for less used functions
this project was a lighting timer switch, press on/off, hold 2 sec for 8hr on, press to program(led blinks fast) set for 15,30,60 minutes stored to eeprom.
fun project




Bookmarks