Cargo Features
hcsr04_async has no features set by default.
[dependencies]
hcsr04_async = { version = "0.2.0", features = ["blocking_trigger"] }
- default
-
async trigger pulse, default to avoid breaking changes
- blocking_trigger
-
blocking trigger pulse, recommended for most use cases. Much more accurate trigger pulse length.