Skip to content

HKalbasi/rust-arduino-generator

Repository files navigation

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.

About

Bootstrap arduino projects in rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published