mirror of https://github.com/periph/devices
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ran: git ls-files -z -- . | xargs -0 -L 1 sed -i 's#periph\.io/x/conn#periph.io/x/conn/v3#g' git ls-files -z -- . | xargs -0 -L 1 sed -i 's#periph\.io/x/host#periph.io/x/host/v3#g' git ls-files -z -- . | xargs -0 -L 1 sed -i 's#periph\.io/x/devices#periph.io/x/devices/v3#g' go test ./... go mod tidy |
5 years ago | |
|---|---|---|
| .. | ||
| README.md | 5 years ago | |
| bmx280smoketest.go | 5 years ago | |
README.md
'bmx280' smoke test
Verifies that two BME280/BMP280, one over I²C, one over SPI, can read roughly the same temperature, humidity and pressure.
It can also be leveraged to record the I/O to write playback unit tests. It is a good example to reuse to write other device driver unit test.