k210-sdk-stuff/rust/weather
Wladimir J. van der Laan c091f406eb Fix cargo build in /rust
Move esp8266 out of the workspace, it defaults to `nom` with different
features (`std` enabled) which means that `std` gets enabled for use of
nom (see https://github.com/rust-lang/cargo/issues/4463).

This caused the build to fail with missing std in riscv-….
2019-07-26 11:06:22 +00:00
..
src rust: Dependency bump k210-hal 2019-07-03 18:24:24 +00:00
.gitignore rust: Add weather 2019-05-27 07:51:21 +00:00
Cargo.toml Fix cargo build in /rust 2019-07-26 11:06:22 +00:00
README.md rust: Add weather 2019-05-27 07:51:21 +00:00

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)