Hello ... can anyone throw up an example on esp-now of how to write communication between two esp as transmitter and receiver? i don't mean sending temperature measurements or information to the serial port just for example:
pressing button 1 lights up diode 1 until the button is released
pressing button 2 lights up LED 2 until the button is released
pressing buttons 1 and 2 lights both LEDs until the button is released
or any good tutorial on how to control a RC vehicle, only not on android because I already have one, I converted it to control it from a second esp everything works except the most important thing when I take out the batteries while pressing the button on the remote control, it loses range ... generally when it loses communication with the car it does the last command, the car just does not listen to the remote control to see if it has lost connection
and just goes where W (far)
pilot
.
auto
[/code].
pressing button 1 lights up diode 1 until the button is released
pressing button 2 lights up LED 2 until the button is released
pressing buttons 1 and 2 lights both LEDs until the button is released
or any good tutorial on how to control a RC vehicle, only not on android because I already have one, I converted it to control it from a second esp everything works except the most important thing when I take out the batteries while pressing the button on the remote control, it loses range ... generally when it loses communication with the car it does the last command, the car just does not listen to the remote control to see if it has lost connection

pilot
Code: C / C++
auto
Code: C / C++