docs/applications/bmp280: Documentation for the BMP280 application.
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>
This commit is contained in:
parent
d09b6a9f51
commit
aba41c9d23
1 changed files with 12 additions and 1 deletions
|
|
@ -2,4 +2,15 @@
|
|||
``bmp280`` BMP280 Barometer sensor example
|
||||
==========================================
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue