k210-sdk-stuff/rust/weather/README.md
Wladimir J. van der Laan 71b427b188 rust: Add weather
Add `weather` demo, also extend console as necessary to handle wttr.in's escape codes.
2019-05-27 07:51:21 +00:00

476 B

weather

Uses the ESP8285 WiFi chip of the Maix Go to fetch weather data from wttr.in and print it to the display using k210-console.

As it needs to connect to an access point first, this needs configuration of one to connect to in src/config.rs:

cp src/config.rs.example src/config.rs
vim src/config.rs # ...

Set <ap name> and <ap password> accordingly. Do not check in src/config.rs ! (gitignore settings should prevent this)