I need to use an LPS35HW and a TCA9548A I2C multiplexer, but can’t find the library’s.
SparkFun_I2C_Mux_Arduino_Library should work for the TCA9548A.
It doesn’t appear that anyone has ported the Adafruit LP35HW library, but it’s easy if you use Particle Workbench:
- Download the source from the Adafruit Github.
- In your project directory in Workbench, create a
libdirectory if it doesn’t already exist
- Copy the library source so the entire
Adafruit_LPS35HWdirectory is in
- Create a
- Move Adafruit_LPS35HW.cpp and Adafruit_LPS35HW.h into
#include "Adafruit_LPS35HW.h"in your main source file
it works thanks!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.