| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Firmware for a coil winding machine turns counter. Displays revolution count and RPM on an SSD1306 OLED display, reads rotation from a quadrature encoder. Counts in both directions.
Written in Rust, using RTIC framework and Embassy HAL.
| Function | Pin |
|---|---|
| I2C1 SCL | PB6 |
| I2C1 SDA | PB7 |
| Encoder CH1 | PA0 |
| Encoder CH2 | PA1 |
https://app.cirkitdesigner.com/project/313b2b6d-25d9-41d3-8ceb-3a537f561505
XXX.XXX r <- RPM (moving average) XXXX.XXX cn <- total revolution count
Requires:
rustup target add thumbv7m-none-eabi
cargo install probe-rs-toolscargo run # debug build, flash via probe-rs
cargo run --release # release build with LTOMIT OR Apache-2.0
| Back | FazBrowse Home | New Git URL |