Skip to content

Files

Latest commit

190f2c3 · Oct 24, 2023

History

History
This branch is 127 commits behind Rahix/avr-hal:main.

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 16, 2022
Jun 16, 2022
Nov 27, 2022
Jun 16, 2022
Jun 9, 2023
Jun 9, 2023
Apr 9, 2023
Jun 16, 2022
Oct 24, 2023
Jun 16, 2022
Jul 4, 2022
Aug 1, 2021

avr-hal examples

The subdirectories here contain various examples which demonstrate how to write firmware using avr-hal. Please note that often examples for a different board can be easily ported to other hardware, so if you can't find something for your board, look for examples with other hardware as well.

All examples are ready to use if you have the respective board available. Just switch to the subdirectory and run an example via cargo. For example:

cd examples/arduino-uno

# Build and run it on a connected board
cargo run --bin uno-blink

You need to install ravedude with cargo install ravedude to make this work.