Up to [cvs.NetBSD.org] / src / sys / modules / bmx280thp
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Split the BMP280 / BME280 driver into common code and create I2C and SPI attachments.
A driver for the Bosch BMP280 / BME280 temperature, humidity and atmospheric pressure sensor. This is an inexpensive to moderately expensive chip available from a large number of places. The driver supports all aspects of the two chips, except for the repeating read mode which would allow for sub-second queries, such as fall detection or perhaps even as an altimeter. This driver also only supports the I2C interface and not the SPI interface. The BME280, the one with humidity, is not fully tested at this point, awaiting upon a breakout board and may not show proper humidity.