User Manual

for both the LPS35HW and LPS33HW:
Click the Manage Libraries ... menu item, search for Adafruit LPS35HW, and select the Adafruit LPS35HW library:
Then follow the same process for the Adafruit BusIO library.
Load Example
Open up File -> Examples -> Adafruit LPS35HW -> lps35hw_test and upload to your Arduino wired up to the sensor.
Depending on whether you are using I2C or SPI, change the pin names and comment or uncomment the following
lines.
if (!lps35hw.begin_I2C()) {
//if (!lps35hw.begin_SPI(LPS_CS)) {
//if (!lps35hw.begin_SPI(LPS_CS, LPS_SCK, LPS_MISO, LPS_MOSI)) {
Once you upload the code, you will see the temperature and pressure being printed when you open the Serial Monitor
(Tools->Serial Monitor) at 115200 baud, similar to this:
© Adafruit Industries https://learn.adafruit.com/lps35hw-water-resistant-pressure-sensor Page 17 of 28