Why MicroWebSrv not runnning on Wipy3.0 ?
Hello everyboby, i need some help,
I m using Wipy3.0 with the last firmware (1.18). I downloaded MicroWebSrv from https://github.com/jczic/MicroWebSrv
from network import WLAN # configure the WLAN subsystem in station mode (the default is AP) wlan = WLAN(mode=WLAN.STA) # go for fixed IP settings (IP, Subnet, Gateway, DNS) #wlan.ifconfig(config=('10.1.10.178', '255.255.255.0', '10.1.10.254', '10.1.10.178')) wlan.scan() # scan for available networks wlan.connect(ssid='my_network', auth=(WLAN.WPA2, 'azerty123')) while not wlan.isconnected(): pass print(wlan.ifconfig())
With console into VS Code, I m using the command
Nothing happens. Nothing to navigator. The command seems blocked.
I am obliged to make a hard reset
Someboby to help me.
If you want, I propose a new powerful embedded Web Server for MicroPython (and CPython) that supports route handlers, modules like WebSockets or PyhtmlTemplate and a lot of simultaneous requests.
Mostly used on ESP32, Pycom WiPy, STM32 on Pyboard, ... Robust and efficient (thousands requests on CPython!)
GitHub - Open Source - MIT.