I am trying to understand the basics of how to make this work. Right now I have one Arduino running using wired internet and it is rock solid, loving it.
Now I am trying to add a second one using wifi (ESP8266) but I don't understand the basics. I can compile the code if I change board type to 2 and select generic ESP8266 board.
I can upload the code and it will connect to the wifi network. The part I don't understand is how does the communication with the Mega 2560 work? Do i need to compile with a different board type and upload to the Mega2560?
I would appreciate if someone could point me in the right direction. I have been searching this forum but cannot get a clear answer.
Thanks
Marcel
Now I am trying to add a second one using wifi (ESP8266) but I don't understand the basics. I can compile the code if I change board type to 2 and select generic ESP8266 board.
I can upload the code and it will connect to the wifi network. The part I don't understand is how does the communication with the Mega 2560 work? Do i need to compile with a different board type and upload to the Mega2560?
I would appreciate if someone could point me in the right direction. I have been searching this forum but cannot get a clear answer.
Thanks
Marcel
Comment