This crate provides a type-safe Rust API for working with the [Adafruit NeoTrellis M4 board].
trellis_m4
Cargo FeaturesThe following optional hardware drivers can be enabled as cargo features:
adxl343
: [ADXL343] accelerometer supportkeypad-unproven
: (alpha) support for button input via the [keypad] crateTo enable them, use the features
option when adding a crate dependency to
your Cargo.toml:
toml
[dependencies]
trellis_m4 = { version = "~0.1", features = ["adxl343", "keypad-unproven"] }
Check out the repository for examples:
https://github.com/atsamd-rs/atsamd/tree/master/boards/trellis_m4/examples