This is working properly , im using the Rx/Tx pins of both boards and level shifter ( bc the esp takes only 3.6V ) and I'm getting my data displayed . I send them once every 3 seconds .
I simply do ( on UNO ):
Serial.println(data);
And in ESP :
Serial.readStringUntil('\n')
Now I want to implement the same thing, but to send from ESP to Arduino , some data. Like , I have a button on my webpage and when its pressed, I want to send "1" to my arduino so I can start a motor or something .
I cant make it work. To send and receive data * at the same time * for both boards.
If someone can help me, I'll appreciate . Thanks !