esp-open-rtos/examples/bmp180_i2c
ourairquality 05bbe48bd4 bmp180: make a lower level interface available and support oversampling.
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.
2016-07-20 18:42:51 +10:00
..
bmp180_i2c.c bmp180: make a lower level interface available and support oversampling. 2016-07-20 18:42:51 +10:00
Makefile Added BMP180 and I2C driver and example 2015-08-31 13:39:27 +02:00
README.md Added BMP180 and I2C driver and example 2015-08-31 13:39:27 +02:00

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.