Hello Blynkers,
I am new to Blynk and not yet an Arduino pro either. I am looking for the best way add a delay to a button, similar to the basic example blink sketch. I am connected to an Android Tablet using an HC-05 Bluetooth module, I have read using delay() can cause disconnections. I don’t want to use the Timer widget because I have no need to set a specific time within a 24hr clock. Press the button, LED comes on for x seconds and then turns back off until the next press of the button.
What is the route I should take? Is anyone able to provide a basic example to help me understand the function? Any feedback is appreciated, thanks all.
Hello Pete,
Thank you for the quick response. I have seen the BlynkTimer used in code before but never the timeout timer function. Are there any examples you have seen that may help me? I am very much a visual learner when it comes to coding, very new still.