dbrgn / shtcx-rs

Platform agnostic Rust driver for the Sensirion SHTCx temperature/humidity sensors.
Apache License 2.0
13 stars 4 forks source link

Provide an async wakeup function #19

Closed rnestler closed 4 years ago

rnestler commented 4 years ago

Also provide the needed wakeup time as an associated constants to allow the user to calculate the remaining waiting time later on.

codecov[bot] commented 4 years ago

Codecov Report

Merging #19 into master will increase coverage by 0.20%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
+ Coverage   86.47%   86.67%   +0.20%     
==========================================
  Files           3        3              
  Lines         133      135       +2     
==========================================
+ Hits          115      117       +2     
  Misses         18       18              
Impacted Files Coverage Δ
src/lib.rs 83.64% <100.00%> (+0.30%) :arrow_up: