As a fun learning experiment I recently purchased a basic Arduino-controlled robot car kit on Amazon. This kit comes with full instructions and Arduino source code, which is fine, but I wanted to challenge myself and use this as an opportunity to learn more about Rust and robotics. This repository is for showcasing my implementation the electric car controls with Rust, and I will likely be implementing some fun bonus features since the car comes with multiple peripherals
-
Install prerequisites as described in the avr-hal README.
-
Run
cargo build
to build the firmware. -
Run
cargo run
to flash the firmware to a connected board. Ifravedude
fails to detect your board, check its documentation at https://crates.io/crates/ravedude. -
ravedude
will open a console session after flashing where you can interact with the UART console of your board.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.