Up to [cvs.NetBSD.org] / src / sys / dev / i2c
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.2, Sat Dec 3 01:04:43 2022 UTC (3 months, 4 weeks ago) by brad
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1
lines
FILE REMOVED
Split the BMP280 / BME280 driver into common code and create I2C and SPI attachments.
Revision 1.1 / (download) - annotate - [select for diffs], Mon Nov 21 21:24:01 2022 UTC (4 months, 1 week ago) by brad
Branch: MAIN
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.