BLYNK
HOME       📲 GETTING STARTED       đź“— DOCS       âť“HELP CENTER       👉 SKETCH BUILDER

Value resetting whenever signal loses

I am trying to make a wi-fi based prototype car. I am using Arduino Mega for main board and esp8266 for wi-fi communication. In BlynkApp I am sending digital signal (0-255) from joystick widget. With this signal I am driving car’s motors. When the signal loses the car doesn’t stop. For example if digital signal value is 255, the car continues to driving at maximum speed and crashes. I need stop the car so make the value 0. How can I make the value 0 when the signal loses?

This has been discussed quite a few times before, this topic is probably a good starting point for your research…

Pete.

Thank you so much for your help Mr. Knight. You rescued my project and probably lives.