mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
esp32[c3|c6|h2]: Add BMP180 sensor support
This commit is contained in:
committed by
Xiang Xiao
parent
dda55419f9
commit
43a4f2fbea
@@ -53,6 +53,17 @@ All of the configurations presented below can be tested by running the following
|
||||
Where <config_name> is the name of board configuration you want to use, i.e.: nsh, buttons, wifi...
|
||||
Then use a serial console terminal like ``picocom`` configured to 115200 8N1.
|
||||
|
||||
bmp180
|
||||
------
|
||||
|
||||
This configuration enables the use of the BMP180 pressure sensor over I2C.
|
||||
You can check that the sensor is working by using the ``bmp180`` application::
|
||||
|
||||
nsh> bmp180
|
||||
Pressure value = 91531
|
||||
Pressure value = 91526
|
||||
Pressure value = 91525
|
||||
|
||||
coremark
|
||||
--------
|
||||
|
||||
|
||||
@@ -88,6 +88,17 @@ All of the configurations presented below can be tested by running the following
|
||||
Where <config_name> is the name of board configuration you want to use, i.e.: nsh, buttons, wifi...
|
||||
Then use a serial console terminal like ``picocom`` configured to 115200 8N1.
|
||||
|
||||
bmp180
|
||||
------
|
||||
|
||||
This configuration enables the use of the BMP180 pressure sensor over I2C.
|
||||
You can check that the sensor is working by using the ``bmp180`` application::
|
||||
|
||||
nsh> bmp180
|
||||
Pressure value = 91531
|
||||
Pressure value = 91526
|
||||
Pressure value = 91525
|
||||
|
||||
coremark
|
||||
--------
|
||||
|
||||
|
||||
@@ -88,6 +88,17 @@ All of the configurations presented below can be tested by running the following
|
||||
Where <config_name> is the name of board configuration you want to use, i.e.: nsh, buttons, wifi...
|
||||
Then use a serial console terminal like ``picocom`` configured to 115200 8N1.
|
||||
|
||||
bmp180
|
||||
------
|
||||
|
||||
This configuration enables the use of the BMP180 pressure sensor over I2C.
|
||||
You can check that the sensor is working by using the ``bmp180`` application::
|
||||
|
||||
nsh> bmp180
|
||||
Pressure value = 91531
|
||||
Pressure value = 91526
|
||||
Pressure value = 91525
|
||||
|
||||
coremark
|
||||
--------
|
||||
|
||||
|
||||
@@ -87,6 +87,17 @@ All of the configurations presented below can be tested by running the following
|
||||
Where <config_name> is the name of board configuration you want to use, i.e.: nsh, buttons, wifi...
|
||||
Then use a serial console terminal like ``picocom`` configured to 115200 8N1.
|
||||
|
||||
bmp180
|
||||
------
|
||||
|
||||
This configuration enables the use of the BMP180 pressure sensor over I2C.
|
||||
You can check that the sensor is working by using the ``bmp180`` application::
|
||||
|
||||
nsh> bmp180
|
||||
Pressure value = 91531
|
||||
Pressure value = 91526
|
||||
Pressure value = 91525
|
||||
|
||||
coremark
|
||||
--------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user