I want to make a simple project using ESP8266 and led strip ws2812, and I want to control it from web page. Is it possible to get variables from page index ? Right now I have only simple code to turn on/off it. After enter:
http://192.168.0.17/off
leds turns off.
else if (readString.indexOf("off") != -1) {
//turn off leds
I want to update my code and I am trying to get RGB values. for example, is it possible to get RED, GREEN, BLUE values from index like this?
http://192.168.0.17/150RED_0GREEN_150BLUE
// here i want to get variables like:
int RED_val = 150;
int GREEN_val = 0;
int BLUE_val = 150;
To make my led strip pink, and other colors.
/off
? Use that template for/red
and/green
– Vincent Rodomista