<GuineaWheek[m]>
<JamesMunns[m]> "which I assume makes the..." <- it appears the correct way to solve this is to pass `black_box(theta)` to the micromath function.
<thejpster[m]>
<bartmassey[m]> "In the MB2 Discovery Book, we..." <- I would do what the Rust Platform docs do, because Arm reviews those.
Rahix has joined #rust-embedded
Makarov55 has quit [Ping timeout: 256 seconds]
lehmrob has joined #rust-embedded
lehmrob has quit [Remote host closed the connection]
lehmrob has joined #rust-embedded
lehmrob has quit [Remote host closed the connection]
Artea has quit [Remote host closed the connection]
nadir has joined #rust-embedded
nadir is now known as drainiard
drainiard has quit [Quit: drainiard]
Danilo[m] has joined #rust-embedded
<Danilo[m]>
When starting out with a new Rust project on ESP32C3 that should react to two buttons, update a display accordingly and send a HTTP request on every change via WiFi, what would you suggest to use? esp-idf-hal with a main event loop using task::block_on(...)? Embassy? Something else?
<dav1d>
I am using embassy for something similar on an esp32s3
<dav1d>
can recommend
<Danilo[m]>
dav1d: do you have public example code somewhere?
<dav1d>
No, but the esp32 hal repo has a lot of examples
Artea has joined #rust-embedded
<Danilo[m]>
Wow, I didn't use embassy yet, but within roughly an hour I managed to get GPIO, WiFi and a HTTP client up and running on the ESP32C3 (using esp-idf-hal). Including async. Awesome!