Commit 35d2b9e6 authored by Vowstar's avatar Vowstar
Browse files

Fixed description of Connect to your ap.

parent a2d1e5ff
......@@ -155,11 +155,13 @@ baudrate:9600
####Connect to your ap
```lua
print(wifi.sta.getip())
--0.0.0.0
ip = wifi.sta.getip()
print(ip)
--nil
wifi.setmode(wifi.STATION)
wifi.sta.config("SSID","password")
print(wifi.sta.getip())
ip = wifi.sta.getip()
print(ip)
--192.168.18.110
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment