Read the humidity value from the Humidity sensor
You can read humidity from the Humidity sensor.
ans = 36.5456
mysh— Connection to SenseHAT
Connection to a SenseHAT board, specified as a sensehat object.
humidity— percentage relative humidity
The humidity value read from the Humidity sensor. The output of this method is double and the unit of measurement for the humidity is percentage relative humidity (%rh).
You can also deploy
readHumidity on the Raspberry Pi™ hardware in MATLAB®