I'm using ESP8266 D1 Mini and I would like to control servo with web page. I created simple www page with input and button. After entering number into input and pressing the button the servo should move same amount in degrees. My problem is that the page was created in Arduino IDE by creating every line of code in Client.println, same with my script in javascript, so for my ESP whole page is just a line of text to write. I can't reach my variable from page and use it in ESP.
↧