Arduino library for MS5840-02BA pressure and temperature sensor from TE Connectivity via I2C protocol.
Gives basic communication between the sensor and arduino board via the I2C protocol.
- /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
- /src - Source files for the library (.cpp, .h).
- keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.
- library.properties - General library properties for the Arduino package manager.
- Create a folder named "MS5840" in the Arduino user libraries folder (eg. for Windows: "C:\Users\username\Documents\Arduino\libraries")
- Add the contents of this repository to this folder
- Restart Arduino IDE and the library should appear in Sketch > Include libraries ... and in File > Examples