Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By felipe123
#50643 Hi, thank you for the example, i'm use to send sensor data to max msp :) . I have newbie question, is possible to erase the buffer after send a message? When i send a message i'm receive echo until i send another message.
User avatar
By mitmell
#50651
felipe123 wrote:Hi, thank you for the example, i'm use to send sensor data to max msp :) . I have newbie question, is possible to erase the buffer after send a message? When i send a message i'm receive echo until i send another message.


Maybe you could reinitialize the buffer after you send the packet and therefore effectively clear it. This probably won't make much of a difference because this happens anyways as soon as the code loops.

What are you using as the client in this case? It seems like that would be more likely to cause the echo.