User Manual

For example to print the pressure and temperature values:
For more details, check out the library documentation (https://adafru.it/ES0).
That's all there is to using the LPS35HW sensor with CircuitPython!
Full Example Code
print("Pressure: %.2f hPa" % lps35hw.pressure)
print("Temperature: %.2f C"% lps35hw.temperature)
import time
import board
import adafruit_lps35hw
i2c = board.I2C()
lps = adafruit_lps35hw.LPS35HW(i2c)
while True:
print("Pressure: %.2f hPa" % lps.pressure)
print("Temperature: %.2f C"% lps.temperature)
print("")
time.sleep(1)
© Adafruit Industries https://learn.adafruit.com/lps35hw-water-resistant-pressure-sensor Page 14 of 18