Can anyone help me with a really simple sketch to control a led through a webpage. (using a esp8266 on a arduino mega 2560 r3).
The connecting with wifi and the library sample of webserver works perfectly. I only do not understand how you can control a led with a button on it on the most simple way.
I see some tutorials on the internet, but not a very simple one, where the basics of communications are explained.
Thank you guys,
Rick