Closed SoulKa closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
bd7de1d
) 61.6% compared to head (d998c15
) 61.6%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks for the fast reaction on this PR! I resolved your issue and the pipeline issues. Somehow, errors.Join()
is not known during build. Is it not built with Go 1.20? At least that's what's written in the go.mod.
Should I add some tests using the bus mock as in bmxx80?
I try to keep compatibility with older version of Go since it's what is installed via apt-get install and users could be confused.
Implemented the AHT20 environmental sensor using the
SenseEnv
interface. Implementation is based on this Datasheet. Tested on a RaspberryPi with the AHT20 sensor.Features:
Sense()
reads a single measurementSenseContinuous()
reads measurements with the given interval into a channel (or as fast as possible if it is too small)Halt()
stops a continuous measurement