yefj
Advanced Member level 5
Hello,i have used micropython to create wifi accsses point as shown bellow.It works.
I lack the definition of the web page design.
My goal is to connect the network shown bellow,then enter an IP address into the webpage and see a variable printed on the web page.
I tried to use this manual but its too complicated i entered the code ,and its not connecting to the web page ,although i connected to the WIFI network.
I need a command for defining IP and a command for printing variables on the webpage.
Is there some one who can reccomnd me a source?
Thanks.
I lack the definition of the web page design.
My goal is to connect the network shown bellow,then enter an IP address into the webpage and see a variable printed on the web page.
I tried to use this manual but its too complicated i entered the code ,and its not connecting to the web page ,although i connected to the WIFI network.
I need a command for defining IP and a command for printing variables on the webpage.
Is there some one who can reccomnd me a source?
Thanks.
ESP32/ESP8266 MicroPython Web Server | Random Nerd Tutorials
Learn how to build a web server to control the ESP32 ESP8266 outputs using MicroPython framework. As an example we'll build a web server with ON and OFF buttons
randomnerdtutorials.com
Code:
ap_if = network.WLAN(network.AP_IF)
ssid = 'MicroPython-AP23'
password = '123456789'
ap_if.active(True)
ap_if.config(essid=ssid, password=password)