mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-19 11:09:42 +00:00
move MicroPython and dashboards -> tutorials
This commit is contained in:
1 parent
1078ba0a92
commit
b3f5d11275
97 files changed
+22
-20
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# Mongoose as a MicroPython user module on the ESP32
|
||||
|
||||
The most basic usage is:
|
||||
|
||||
```python
|
||||
import network
|
||||
import mongoose
|
||||
|
||||
sta_if = network.WLAN(network.STA_IF)
|
||||
sta_if.active(True)
|
||||
sta_if.connect("<SSID>", "<PASSWORD>")
|
||||
while not sta_if.isconnected():
|
||||
pass
|
||||
|
||||
mongoose.init()
|
||||
while True:
|
||||
mongoose.poll(1000)
|
||||
|
||||
```
|
||||
|
||||
[Please check the Linux example for more information and useful links](../README.md)
|
||||
Reference in new issue
Block a user