05bbe48bd4
An application using multiple I2C devices will need it's own loop. This reworks the code to make the detection, calibration constant loading, and measurment functions available too without having to use the bmp810 task which is still retained. Adds support for oversampling. Fixes a bug in the calculation of the temperature. Better error handling. Checks for I2C errors and errors in the loading of the calibration constants and propagates these up. |
||
---|---|---|
.. | ||
bmp180_i2c.c | ||
Makefile | ||
README.md |
I2C / BMP180 Example
This example references two addtional drivers i2c and bmp180, which are provided in the ../../extras
folder.
If you plan to use one or both of this drivers in your own projects, please check the main development pages for updated versions or reported issues.
To run this example connect the BMP085/BMP180 SCL to GPIO0 and SDA to GPIO2.