The library provides proper communication between AVR Based microcontrollers and BMP180 sensor.
#include "bmp180/bmp180.c"
/**
* There are 3 modes of operation
* check the header file bmp180.h for details.
*/
init_sensor(bmp180_mode_0);
calculate();
Results is stored in struct.
Variable Name | Type |
---|---|
bmp_180.temperature | long |
bmp_180.pressure | long |
bmp_180.altitude | float |