My programming skills are almost limited to just upload the file itself to the arduino, so I hope someone can help me on this easy project.
This is what I’m looking for:
- By the press of a button, a relay turns on for 30 sec and then turns off
- If the button is pressed again before the 30 sec is finished, then it starts the count down again (from 30 down to 0)
That’s all the function it needs. However, this will not work with the delay function, so from my two-three hours of googling I found out that a non-blocking or no delay function is needed.
if anyone got some minutes to help me, then I would be super super happy
Thanks : ))