Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 820 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 820 Bytes

Please use avr-hal-template since it has support for more arduino boards and it is better maintained.

rust-arduino-generator

Bootstrap arduino projects in rust

Usage

  1. Init a new project using this template:
    cargo generate --git https://github.com/HKalbasi/rust-arduino-generator
    
    Learn how to install and more about cargo generate here.
  2. Put your code in src/main.rs (see examples)
  3. Run your code with cargo run 🎉 (make sure you attached the arduino usb)

Troubleshooting

Build fails

Make sure you have installed the version of nightly compiler specified here.