Hello
Today i show you how to control RGB LED using WebSocketsServer .In this project you have to need
Hardware
1. Nodemcu
2. RGB LED
3. USB Connector
4. breadboard
Softtware
1.Ardunio
First you have to need Learn NodeMCU RGB LED | For beginners
Now you have to need Download WebSocketsServe Library Click Here Then Included This Library
Now Go to Example Flowing Image instruction
Now you have to need some edited
Remove This Code from Main Program
//WiFiMulti.addAP("rowsoni", "007892057");
//while(WiFiMulti.run() != WL_CONNECTED) {
// delay(100);
// }
And Add this code in main program
WiFi.softAP("hassan", "007892057");
IPAddress myIP = WiFi.softAPIP();
USE_SERIAL.print("AP IP address: ");
USE_SERIAL.println(myIP);
After complete Editing Up lode program
Now connected your led Flowing Circuit
Today i show you how to control RGB LED using WebSocketsServer .In this project you have to need
Hardware
1. Nodemcu
2. RGB LED
3. USB Connector
4. breadboard
Softtware
1.Ardunio
First you have to need Learn NodeMCU RGB LED | For beginners
Now you have to need Download WebSocketsServe Library Click Here Then Included This Library
Now Go to Example Flowing Image instruction
Now you have to need some edited
Remove This Code from Main Program
//WiFiMulti.addAP("rowsoni", "007892057");
//while(WiFiMulti.run() != WL_CONNECTED) {
// delay(100);
// }
And Add this code in main program
WiFi.softAP("hassan", "007892057");
IPAddress myIP = WiFi.softAPIP();
USE_SERIAL.print("AP IP address: ");
USE_SERIAL.println(myIP);
After complete Editing Up lode program
Now connected your led Flowing Circuit
No comments