2 个不稳定版本
0.1.1 | 2023年3月1日 |
---|---|
0.1.0 |
|
0.0.0 | 2017年9月19日 |
#598 in 嵌入式开发
38KB
797 行
wave
A no-std no-alloc gesture recognition library for low resolution TOF-Sensors
演示
水平滑动
垂直滑动
静态保持
C 绑定
可以使用 cargo build --release
(re)构建静态库。然后 libwave.a
将位于 target/release
。头文件 wave.h
位于 crate 根目录。
为特定架构进行交叉编译,例如 Cortex-M4: cargo build --release --target=thumbv7em-none-eabi
Cbindgen 用于 (re)生成头文件 wave.h
。
cargo install --force cbindgen
cbindgen --config cbindgen.toml --crate wave --output wave.h
依赖项
~410KB