Skip to content

A Rust library for the MS5611 barometric pressure sensor.

License

Notifications You must be signed in to change notification settings

braincore/ms5611-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MS5611 Library for Rust Latest Version Documentation

A library for the MS5611 barometric pressure sensor. Only supports the i2c interface (no SPI).

Features

  • Per datasheet, computes the second order temperature compensation.
  • Validates the PROM's checksum.

Usage

See basic test in lib.rs.

Testing

By default, uses i2c bus=1, addr=0x77. To override, use these environment variables:

MS5611_I2C_BUS2=1 MS5611_I2C_ADDR=119 cargo test

About

A Rust library for the MS5611 barometric pressure sensor.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages