• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Web server input data

Q&A Forum › Category: ESP8266 › Web server input data
0 Vote Up Vote Down
Anthony Pontikakis asked 7 years ago

 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?

Question Tags: Esp8266 web server
8 Answers
0 Vote Up Vote Down
Best Answer
Rui Santos Staff answered 7 years ago

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?

0 Vote Up Vote Down
Anthony Pontikakis answered 7 years ago

Hi I just want to pass an int value to esp8266

0 Vote Up Vote Down
Rui Santos Staff answered 7 years ago

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

0 Vote Up Vote Down
Anthony Pontikakis answered 7 years ago

In my project I try to add the input that you are using 
I place the max as you but it dosen’t work..
 

0 Vote Up Vote Down
Rui Santos Staff answered 7 years ago

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….

0 Vote Up Vote Down
Anthony Pontikakis answered 7 years ago

Hi
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.
Anthony

0 Vote Up Vote Down
Anthony Pontikakis answered 7 years ago

Hi l solve the problem now is working ok.
In the project I use esp8266
How I use the eeprom library??
Anthony

0 Vote Up Vote Down
Rui Santos Staff answered 7 years ago

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

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.