mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 13:13:08 +08:00
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:
committed by
Alan C. Assis
parent
d09b6a9f51
commit
aba41c9d23
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user