FOR THE NERDS: I’ve been asked “Why Rust?” multiple times in the comments, so here’s a quick firmware size comparison:
LEFT: Rust build size = 94,608 bytes
RIGHT: Arduino IDE/C++ version = 301,282 bytes
Rust is ~3x smaller, if I measured that correctly. That’s quite something.
IT’S MOVING!
It might not seem like much, but this is my first ESP32-S3 programmed entirely in Rust (instead of Arduino IDE/C++).
It sweeps from 0° to 180° and back in 3° steps, sending "angle,light" via serial to my computer.