1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/drivers/bmp180
2023-05-04 12:45:07 +02:00
..
app.config.test tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
main.c tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
Makefile tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
Makefile.ci tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
Readme.md tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00

About

This is a test application for the BMP180 Pressure and Temperature sensor.

Usage

The application will initialize the BMP180 sensor and display its calibration coefficients. Please see section 3.4 of the datasheet for more information.

After initialization, every 2 seconds, the application:

  • reads the temperature (d°C);
  • reads the pressure (Pa);
  • computes the pressure at sea level based on the TEST_ALTITUDE variable;
  • computes the altitude based on the pressure at sea level calculated above;
  • those values are then printed to STDOUT.