A weather station that uses GPS and WiFi to get the weather where you are. Almost better than actually going outside!
Dependencies: 4DGL-uLCD-SE ESP8266NodeMCUInterface GPS MbedJSONValue mbed-rtos mbed-src
Diff: connect.lua
- Revision:
- 0:c4da54879553
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/connect.lua Sun Mar 13 21:09:49 2016 +0000 @@ -0,0 +1,7 @@ +LUA( + wifi.setmode(wifi.STATION); + wifi.sta.config("%s", "%s"); + wifi.sta.connect(); + while wifi.sta.status() ~= 5 do end; + print(wifi.sta.status()); +)