Crates.io | wave |
lib.rs | wave |
version | 0.1.1 |
source | src |
created_at | 2017-09-19 03:49:08.60229 |
updated_at | 2023-03-01 14:54:40.594461 |
description | A no-std no-alloc gesture recognition library for low resolution TOF-Sensors |
homepage | https://github.com/flxzt/wave |
repository | https://github.com/flxzt/wave |
max_upload_size | |
id | 32226 |
size | 48,758 |
A no-std no-alloc gesture recognition library for low resolution TOF-Sensors
Horizontal Swipes
Vertical Swipes
Static Holds
The static library can be (re)built with cargo build --release
. Then libwave.a
will be located in target/release
.
The header file wave.h
is located in the crate root.
Cross-compile for a specific architecture, e.g. Cortex-M4: cargo build --release --target=thumbv7em-none-eabi
Cbindgen is used to (re)generate the header file wave.h
.
cargo install --force cbindgen
cbindgen --config cbindgen.toml --crate wave --output wave.h