So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Jean Christophe MUTI
#76183 Hi all,
I'm new in the ESP'world and I have some knowledge of C, lua programming.
But no specific things about ESP8266.
I want to do something easy (yes it is certainly) : communicate between 2 ESP.
My project : I have 7 reed switchs connected on ESP12F (let's call it ESP1). And I want to mirror the value of each PIN to a second ESP (let's call it ESP2) by wifi (one in AP, the other is a client).
ESP2 will use either a LCD screen (to show witch GPIO as changed) or 7 LEDs in output.

What is the best way to do that for you ?
Thank's a lot for your help,
Jean-Christophe
User avatar
By Luc Volders
#76232 Easy !!!

First flash ESP-Basic on both.
There is a sub section on ESP-Basic on this forum.
And you can find it at its website: https://www.esp8266basic.com

Next use UDP to send commands directly from one ESP to the other.
Just a few lines of code and you are set.

Luc