Cargo Features
[dependencies]
hcsr04_async = { version = "0.3.1", default-features = false, features = ["blocking_trigger"] }
- default = blocking_trigger
-
The
blocking_trigger
feature is set by default wheneverhcsr04_async
is added without
somewhere in the dependency tree.default-features = false - blocking_trigger default
-
blocking trigger pulse, recommended for most use cases. Much more accurate trigger pulse length.