Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.64 KB

README.md

File metadata and controls

60 lines (43 loc) · 1.64 KB

wot-esp-hal-demo

dependency status LICENSES LICENSES

Deploy

Rust prerequisites

  • Install espflash, ldproxy and cargo-espflash
$ cargo install espflash ldproxy cargo-espflash

Building and running

  • Make sure to connect the board and that its serial/jtag gets detected by your system.
  • set SSID and PASSWORD env variables.

If the toolchain is correctly installed the usual cargo build and cargo run will work.

Demos

All the demos target the esp-rust-board.

Hygro-Thermometer

This demo exposes the shtc3 sensor as a connected thermometer.

  • http version based on esp-hal and picoserve
  • mDNS support based on edge-mdns
$ cargo run --bin thermometer

Light Source

This demo exposes the WS2812 LED as a light source.

  • http version based on esp-hal and picoserve
  • mDNS support based on edge-mdns
$ cargo run --bin light

Button

This demo exposes an integrated button via Server-Sent Events (SSE).

  • http version based on esp-hal and picoserve
  • mDNS support based on edge-mdns
$ cargo run --bin button