Documentation#
Everything needed to drive the DFRobot M0601 hub motor with this repo, whether you’re calling the library from Rust or running the CLI against a motor on the bench.
If you’ve landed here from a search engine, the front page is the orientation — it has the three facts that explain almost everything about this motor, and it points at the right track for what you’re doing.
The sections#
- Getting started — build, install, wire, and get serial-port permissions right.
- First-spin tutorial — bare wires to a spinning wheel, narrated step by step.
- Safety — what brakes, what coasts, and what will hurt you. Short; read it before the wheel is on the ground.
- CLI guide — a detailed page per subcommand.
- Library guide — calling
m0601from Rust. - Sample code — the runnable code in this repo:
four_wheel_minimal.rsand them0601-quadrover app. - Concepts — the design notes: why the driver behaves the way it does.
- Protocol reference — the wire format, byte by byte, with sourcing.
- FAQ and Troubleshooting — when something’s off.
- Internals — how the crate is built, for contributors.