mirror of
https://github.com/laanwj/k210-sdk-stuff.git
synced 2024-11-22 17:36:20 +04:00
16 lines
476 B
Markdown
16 lines
476 B
Markdown
|
# `weather`
|
||
|
|
||
|
Uses the ESP8285 WiFi chip of the Maix Go to fetch weather data from
|
||
|
[wttr.in](https://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`:
|
||
|
|
||
|
```bash
|
||
|
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)
|