mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.3.1 MS5611_SPI
This commit is contained in:
parent
a7f09164d1
commit
d984fd2a50
@ -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/).
|
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
|
## [0.3.0] - 2024-01-19
|
||||||
- fix #11, improve SPI dependency
|
- fix #11, improve SPI dependency
|
||||||
- solves #6 in a better way.
|
- solves #6 in a better way.
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
## [0.2.0] - 2023-11-30
|
## [0.2.0] - 2023-11-30
|
||||||
- refactor constructor interface - breaking changes.
|
- refactor constructor interface - breaking changes.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// FILE: MS5611_SPI.cpp
|
// FILE: MS5611_SPI.cpp
|
||||||
// AUTHOR: Rob Tillaart
|
// AUTHOR: Rob Tillaart
|
||||||
// VERSION: 0.3.0
|
// VERSION: 0.3.1
|
||||||
// PURPOSE: MS5611 (SPI) Temperature & Pressure library for Arduino
|
// PURPOSE: MS5611 (SPI) Temperature & Pressure library for Arduino
|
||||||
// URL: https://github.com/RobTillaart/MS5611_SPI
|
// URL: https://github.com/RobTillaart/MS5611_SPI
|
||||||
//
|
//
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// FILE: MS5611_SPI.h
|
// FILE: MS5611_SPI.h
|
||||||
// AUTHOR: Rob Tillaart
|
// AUTHOR: Rob Tillaart
|
||||||
// VERSION: 0.3.0
|
// VERSION: 0.3.1
|
||||||
// PURPOSE: S5611 (SPI) Temperature & Pressure library for Arduino
|
// PURPOSE: S5611 (SPI) Temperature & Pressure library for Arduino
|
||||||
// URL: https://github.com/RobTillaart/MS5611_SPI
|
// URL: https://github.com/RobTillaart/MS5611_SPI
|
||||||
|
|
||||||
@ -30,10 +30,13 @@
|
|||||||
// CS to GND ==> 0x77
|
// 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__
|
#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
|
#define __SPI_CLASS__ SPIClassRP2040
|
||||||
#else
|
#else
|
||||||
#define __SPI_CLASS__ SPIClass
|
#define __SPI_CLASS__ SPIClass
|
||||||
|
@ -25,6 +25,9 @@ This library only implements the SPI interface.
|
|||||||
It is based upon the 0.3.6 version of the I2C library,
|
It is based upon the 0.3.6 version of the I2C library,
|
||||||
see - https://github.com/RobTillaart/MS5611
|
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
|
#### 0.3.0 Breaking change
|
||||||
|
|
||||||
@ -247,7 +250,7 @@ The meaning of the manufacturer and serialCode value is unclear.
|
|||||||
|
|
||||||
#### 2nd order pressure compensation
|
#### 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.
|
The default = true.
|
||||||
Disabling the compensation will be slightly faster but you loose precision.
|
Disabling the compensation will be slightly faster but you loose precision.
|
||||||
- **getCompensation()** returns flag set above.
|
- **getCompensation()** returns flag set above.
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/RobTillaart/MS5611_SPI.git"
|
"url": "https://github.com/RobTillaart/MS5611_SPI.git"
|
||||||
},
|
},
|
||||||
"version": "0.3.0",
|
"version": "0.3.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"frameworks": "*",
|
"frameworks": "*",
|
||||||
"platforms": "*",
|
"platforms": "*",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name=MS5611_SPI
|
name=MS5611_SPI
|
||||||
version=0.3.0
|
version=0.3.1
|
||||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||||
sentence=Arduino library (SPI) for MS5611 temperature and pressure sensor
|
sentence=Arduino library (SPI) for MS5611 temperature and pressure sensor
|
||||||
|
Loading…
Reference in New Issue
Block a user