ESP32 MicroWebSrv Ajax Part 2
Step 1: Why? The Purpose.
Transfer data between Web Page and Python Server.
2. Web Page to Python Server: To control the motors, actuators, switches etc, attached to ESP32, on user command in the Web Page.
Step 2: How? The Process.
Send the web page user interaction data to ESP32 and display it in repl.
Host multiple web page simultaneously.
Step 3: What? The Result.
Verify "What we Get" by "Why we are Doing".
- Send the web page user interaction data to ESP32 and display it in repl.
Edit the files, save and close.
File Structure:
/pyboard
testPY.py
/pyboard/www
testHTML.html
testJS.js
Very Import: Clear the browser data to show the new content.
Check the new development:
2. Host multiple web page simultaneously.
Edit the files, save and close.
File Structure:
/pyboard
testPY.py
/pyboard/www
testHTML.html
testJS.js
Very Import: Clear the browser data to show the new content.
Check the new developments:
Knowledge Base:
for help regarding html, js, css; checkout w3schools.
for beautiful web page styles; checkout Bootstrap.
for more Java Script functionalities; checkout jQuery.