The ESP8266 microprocessor contains a Wi-Fi sender and receiver as well as software to drive them. This can be used to make web pages in our program as well as TCP/IP communication. We will not go further than a simple web page for this introduction. The library comes with examples to demonstrate some possible use cases. We have provided an example below that ilustrates how the onboard LED can be controlled form a web page using the router in the NDL.
The SSSID and password of the Wi-Fi router in the NDL can be found underneath the router.
Ensure that your computer or phone is connected to the router used in this program. Copy the IP address shown in the serial monitor to the address bar of the browser of your choice. This should show you the specified page. Pressing the blue button switches the built in LED on the D1 Mini on and off.
Troubleshooting
I don't see the local IP address in the Serial Monitor
Press the reset button on the D1 Mini.