I am working on an ESP8266 ESP-12E WiFi Module to turn an LED on and off.
Yes, I was able to turn on/turn off the LED with the help of Wifiserver and NodeMCU.
The problem is I want to connect the NodeMCU with my local area network on the PC. My PC does not connect with Wi-Fi, only an Ethernet connection is present.
How can I connect the NodeMCU with my local area network connection, not with the mobile hotspot?
This is my code:
How to connect ESP 8266 wifi modular with local area network?
Yes, I was able to turn on/turn off the LED with the help of Wifiserver and NodeMCU.
The problem is I want to connect the NodeMCU with my local area network on the PC. My PC does not connect with Wi-Fi, only an Ethernet connection is present.
How can I connect the NodeMCU with my local area network connection, not with the mobile hotspot?
This is my code:
Code:
#include <ESP8266WebServer.h>
/*Put your SSID...