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 ...@@ -155,11 +155,13 @@ baudrate:9600
####Connect to your ap ####Connect to your ap
```lua ```lua
print(wifi.sta.getip()) ip = wifi.sta.getip()
--0.0.0.0 print(ip)
--nil
wifi.setmode(wifi.STATION) wifi.setmode(wifi.STATION)
wifi.sta.config("SSID","password") wifi.sta.config("SSID","password")
print(wifi.sta.getip()) ip = wifi.sta.getip()
print(ip)
--192.168.18.110 --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