Releases: yogiastawan/gx_HCSR04
Releases · yogiastawan/gx_HCSR04
Version 0.1.5
- Fix error when using feature
humidity
- Add more examples
Version 0.1.4
- Fix rust features documentation
Version 0.1.3
Fix error typo
Version 0.1.1
New feature:
- Add temperature compensation. Enable it using
temperature
feature. - Add humidity compensation. Enable it using
humidity
feature. - Fix documentation.
Version 0.1.0
Feature:
- Measure distance
- Get duration echo
Note:
- User must define echo pin as external interrupt with Mode
Falling
andRising
. Then call functionon_echo_pulse
from external interrupt. see Example line 101-110 - User must define custom Counter that implement trait
TickerUs
. In this Example line 7-25, we use custom counter namedMyCounter<TIM>
with fieldCounterUs<TIM>
whereTIM
was implement traitsInstance
to get number oftick
. Then use custom Counter as parameter in functionhc_sr04_new
(Line 79).