0.3.1 MS5611_SPI

This commit is contained in:
Rob Tillaart 2024-06-03 15:51:13 +02:00
parent a7f09164d1
commit d984fd2a50
6 changed files with 17 additions and 8 deletions

View File

@ -6,11 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.3.1] - 2024-06-03
- add support for ARDUINO_ARCH_MBED
## [0.3.0] - 2024-01-19
- fix #11, improve SPI dependency
- solves #6 in a better way.
----
## [0.2.0] - 2023-11-30
- refactor constructor interface - breaking changes.

View File

@ -1,7 +1,7 @@
//
// FILE: MS5611_SPI.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// VERSION: 0.3.1
// PURPOSE: MS5611 (SPI) Temperature & Pressure library for Arduino
// URL: https://github.com/RobTillaart/MS5611_SPI
//

View File

@ -2,7 +2,7 @@
//
// FILE: MS5611_SPI.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// VERSION: 0.3.1
// PURPOSE: S5611 (SPI) Temperature & Pressure library for Arduino
// URL: https://github.com/RobTillaart/MS5611_SPI
@ -30,10 +30,13 @@
// CS to GND ==> 0x77
#define MS5611_SPI_LIB_VERSION (F("0.3.0 EXPERIMENTAL"))
#define MS5611_SPI_LIB_VERSION (F("0.3.1 EXPERIMENTAL"))
#ifndef __SPI_CLASS__
#if defined(ARDUINO_ARCH_RP2040)
// MBED must be tested before RP2040
#if defined(ARDUINO_ARCH_MBED)
#define __SPI_CLASS__ SPIClass
#elif defined(ARDUINO_ARCH_RP2040)
#define __SPI_CLASS__ SPIClassRP2040
#else
#define __SPI_CLASS__ SPIClass

View File

@ -25,6 +25,9 @@ This library only implements the SPI interface.
It is based upon the 0.3.6 version of the I2C library,
see - https://github.com/RobTillaart/MS5611
If you know a cause or better a solution to the self heating effect,
please let me know (open an issue).
#### 0.3.0 Breaking change
@ -247,7 +250,7 @@ The meaning of the manufacturer and serialCode value is unclear.
#### 2nd order pressure compensation
- **setCompensation(bool flag = true)** to enable/desiable the 2nd order compensation.
- **setCompensation(bool flag = true)** to enable/disable the 2nd order compensation.
The default = true.
Disabling the compensation will be slightly faster but you loose precision.
- **getCompensation()** returns flag set above.

View File

@ -15,7 +15,7 @@
"type": "git",
"url": "https://github.com/RobTillaart/MS5611_SPI.git"
},
"version": "0.3.0",
"version": "0.3.1",
"license": "MIT",
"frameworks": "*",
"platforms": "*",

View File

@ -1,5 +1,5 @@
name=MS5611_SPI
version=0.3.0
version=0.3.1
author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Arduino library (SPI) for MS5611 temperature and pressure sensor