Chat freely about anything...

User avatar
By Nora Mhd
#43395 Good evening everyone
i have ESP8266-01 and i flashed it with Node MCU firmware
and i have problems with writing lua code to make the esp work as client and server at the same time , any idea how to do that please ?
User avatar
By Nora Mhd
#43478
technochatter wrote:Here is an example, I hope it helps :) :
http://randomnerdtutorials.com/how-to-m ... 8266-talk/
(By the way I am not promoting the above site, too much pop up ads- personal opinion ;) )
You can use the arduino IDE too if you are not comfortable with Node MCU.

thanks technochatter , actually i'm using Arduino to connect the ESPs to the PC because the FTDI isn't available for me
and now i have the code that make the ESP work as client and server (it can send and receive together) :)
but i have a problem now with the software serial , i have to use it but when i use it , it keeps typing strange marks when i open the serial monitor , and away from the software serial when i use the sendDate function i made after it send the data the two ESPs usually auto restarting do you have any idea why does that happen please ?