How to add timer to relay sketch??


hi pretty sure simple task, finding difficult work out code write in sketch.
can please me??

i have relay sketch operates 4 relays. runs webserver gives me web page 4 buttons switch each relay. once have activated relay pressing on button  i timer automatically turn off relay after 10 minutes. when press off button overide timer , deactivate relay.

here sketch far, please can show me add timer code , how write it, many thanks!!!:

i have attached .ino file




quote
i finding difficult work out code write in sketch.   


this vague. can narrow down ? didn't start programming yesterday must know something. in interest of saving time can tell part of code not working ?
i see using serial prints diagnose operation telling ?
what need ? 10 minutes turn off trivial (see attached sketch incorporates 10 second count down timer turn off backlight of lcd. have do math make 10 minutes.

so else need ?


Arduino Forum > Using Arduino > Project Guidance > How to add timer to relay sketch??


arduino

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support