Skip to content

Releases: yogiastawan/gx_HCSR04

Version 0.1.5

04 Nov 18:44
Compare
Choose a tag to compare
  • Fix error when using feature humidity
  • Add more examples

Version 0.1.4

04 Nov 05:39
Compare
Choose a tag to compare
  • Fix rust features documentation

Version 0.1.3

04 Nov 05:27
Compare
Choose a tag to compare

Fix error typo

Version 0.1.1

04 Nov 03:35
Compare
Choose a tag to compare

New feature:

  • Add temperature compensation. Enable it using temperature feature.
  • Add humidity compensation. Enable it using humidity feature.
  • Fix documentation.

Version 0.1.0

29 Oct 18:52
Compare
Choose a tag to compare

Feature:

  • Measure distance
  • Get duration echo

Note:

  1. User must define echo pin as external interrupt with Mode Falling and Rising. Then call function on_echo_pulse from external interrupt. see Example line 101-110
  2. User must define custom Counter that implement trait TickerUs. In this Example line 7-25, we use custom counter named MyCounter<TIM> with field CounterUs<TIM> where TIM was implement traits Instance to get number of tick. Then use custom Counter as parameter in function hc_sr04_new (Line 79).