Hi I’m working with esp8266 and I create a web server. I want to set input data (from 0 to 9999)
How I do this?
Hi! But do you want to store those values in the EEPROM? Or you simply want a field that can pass that value to your ESP8266?
If you don’t use the EEPROM, you can set the field to max=\”9999\” as you’ve mentioned via email…
Then, you can save that value in a int or String variable… As I show in that example
In my project I try to add the input that you are using
I place the max as you but it dosen’t work..
What exactly doesn’t work? Does it fail to hold the variable? What do you see in the Serial monitor when you try to print the variable that holds that value?
Note: as I said, you can’t store those values in the EEPROM….
In my project esp8266 communicate with PIC UC
Via uart I see the input component I place the value but I could not sent it to pic.
Hi l solve the problem now is working ok.
In the project I use esp8266
How I use the eeprom library??
I’m glad you made it work! If you follow this tutorial, you should be able to make it work with the ESP8266: https://randomnerdtutorials.com/arduino-eeprom-explained-remember-last-led-state/
It works in the same way as in the Arduino board