# Examples
⚠️ All of the examples here are very low-level, except for the parts that directly demonstrate the functionality of this package.
# How to run
```bash
# Simulator:
cargo playdate run -p=playdate-controls --example=buttons --features=bindgen-runtime,bindings-derive-debug
# Device:
cargo playdate run -p=playdate-controls --example=accelerometer --features=bindgen-runtime,bindings-derive-debug --device
```
More information how to use [cargo-playdate][] in help: `cargo playdate --help`.
[cargo-playdate]: https://crates.io/crates/cargo-playdate