Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.54 KB

temp_hum.rst

File metadata and controls

33 lines (25 loc) · 1.54 KB

Temperature Humidity and Pressure Sensor

In order to run this example program, connect the Temperature Humidity and Pressure Sensor to an I2C port on whichever platform (GoPiGo3, GrovePi or BrickPi3) and then run the following script.

The source file for this example program can be found here on github.

../../../Python/Examples/EasyTempHumPress.py

The console output of this script should look like:

Example program for reading a Dexter Industries Temperature Humidity Pressure Sensor on an I2C port.
Temperature: 28.139 Humidity: 48.687 Pressure: 101122.691
Temperature: 28.141 Humidity: 48.698 Pressure: 101122.840
Temperature: 28.145 Humidity: 48.385 Pressure: 101122.900
Temperature: 28.151 Humidity: 48.715 Pressure: 101122.889
Temperature: 28.157 Humidity: 48.436 Pressure: 101122.607
Temperature: 28.163 Humidity: 48.464 Pressure: 101122.836
Temperature: 28.171 Humidity: 48.674 Pressure: 101123.085
Temperature: 28.180 Humidity: 48.120 Pressure: 101123.114