This commit provides documentation for using the `bmp280` application to read pressure and temperature from the device. It provides a brief explanation of how the program works and the console output it generates. Part of #11081. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
16 lines
555 B
ReStructuredText
16 lines
555 B
ReStructuredText
==========================================
|
|
``bmp280`` BMP280 Barometer sensor example
|
|
==========================================
|
|
|
|
This example is made for testing the BMP280 barometer sensor. It works by
|
|
reading a single measurement from the device (assuming it is registered at
|
|
``/dev/uorb/sensor_baro0``) and prints the results to the screen. The program is
|
|
run without any command line arguments.
|
|
|
|
Here is an example of the console output:
|
|
|
|
.. code-block:: console
|
|
|
|
nsh> bmp280
|
|
Absolute pressure [hPa] = 983.099976
|
|
Temperature [C] = 24.129999
|