Build a Rust WiFi server on the ESP32-C6-DevKit-C1
Julian Horsey at Geeky Gadgets writes about a video from The Rusty Bits that builds a WiFi server in Rust on an ESP32-C6 dev board. A button on a web page turns the board’s LED on and off, and a phone on the same network sends the request.
The server uses picoserve to send the page, with Embassy handling the network and the running of tasks. The board joins the local network and prints its address to the terminal. The WiFi name and password are set when the code is compiled.
The request handler sends a signal to a separate task that toggles the LED, so the page answers quickly.
See the video below and more on geeky-gadgets.com .




Comments
No comments yet. Be the first to share your thoughts.