Help with code

Hey guys.

I would like to know how I can make a code that when pressing the button on the app a relay stays on for certain seconds

Thanks in advance

There’s some good examples here.

https://community.blynk.cc/search?context=topic&context_id=47415&q=Latch%20relay&skip_context=true

And search lambda timer.

@John2324 I have lots of examples in this topic… but this is the particular example I think you are looking for…