Read the pressure value from the Air Pressure sensor
You can read pressure from the Air Pressure sensor.
ans = 9.1102e+04
Read the pressure from the Air Pressure sensor.
mysh— Connection to SenseHAT
Connection to a SenseHAT board, specified as a sensehat object.
pressure— air pressure
The pressure value read from the Air pressure sensor. The output of this method is double and the unit of measurement for the pressure is Pascal (Pa).
You can also deploy
readPressure on the Raspberry Pi™ hardware in MATLAB®