Change the state of a button from another button

Hi, I want to use 2 virtual buttons in a project, as an emergency button:
If you want to reset a counter with V10 buton, you need to press the prereset button first V9.
I did that, but now I want to push the first button (prereset) in off state after a press the actual reset button and do the reset of the counter.
I try with Blynk.virtualWrite(V9,0) but the esp8266 crashes (wdt reset).

Post your complete sketch and don’t forget to format it properly:


It might be worth taking a look through this topic for a few ideas and code snippets, as the whole subject was discussed in quite a bit of detail…


1 Like