Skip to content
/ MS5840 Public

Arduino library for the MS5840-02BA pressure and temperature sensor via the I2C protocol.

License

Notifications You must be signed in to change notification settings

g-rov/MS5840

Repository files navigation

MS5840

Arduino library for MS5840-02BA pressure and temperature sensor from TE Connectivity via I2C protocol.

Pressure/Temperature Sensor - MS5840-02BA - Arduino Library

Gives basic communication between the sensor and arduino board via the I2C protocol.

Repository Contents

  • /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.

Usage

  • 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
Based on: Sparkfun MS5803-14BA Pressure Sensor library

About

Arduino library for the MS5840-02BA pressure and temperature sensor via the I2C protocol.

Topics

Resources

License

Stars

Watchers

Forks

Languages