mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.1.4 MHZCO2
This commit is contained in:
parent
bc3d53c51f
commit
be20f396e4
@ -6,12 +6,18 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
|
||||
## [0.1.4] - 2023-11-14
|
||||
- update readme.md
|
||||
- add plotter example (MEGA)
|
||||
- update keywords.
|
||||
- minor edits
|
||||
|
||||
|
||||
## [0.1.3] - 2023-07-27
|
||||
- remove MTP40F as it is not compatible
|
||||
- update examples.
|
||||
- minor edits.
|
||||
|
||||
|
||||
## [0.1.2] - 2023-01-18
|
||||
- fix build - SoftwareSerial problem
|
||||
- fix version in .cpp
|
||||
|
@ -1,7 +1,7 @@
|
||||
//
|
||||
// FILE: MHZCO2.cpp
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.1.3
|
||||
// VERSION: 0.1.4
|
||||
// PURPOSE: Arduino Library for MHZ series CO2 sensors
|
||||
// DATE: 2020-05-05
|
||||
// URL: https://github.com/RobTillaart/MHZCO2
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// FILE: MHZCO2.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.1.3
|
||||
// VERSION: 0.1.4
|
||||
// PURPOSE: Arduino Library for MHZ series CO2 sensors
|
||||
// DATE: 2020-05-05
|
||||
// URL: https://github.com/RobTillaart/MHZCO2
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#include "Arduino.h"
|
||||
|
||||
#define MHZCO2_LIB_VERSION (F("0.1.3"))
|
||||
#define MHZCO2_LIB_VERSION (F("0.1.4"))
|
||||
|
||||
#define MHZCO2_OK 0
|
||||
#define MHZCO2_TIMEOUT -10
|
||||
@ -104,4 +104,4 @@ public:
|
||||
|
||||
|
||||
|
||||
// -- END OF FILE --
|
||||
// -- END OF FILE --
|
||||
|
@ -2,8 +2,11 @@
|
||||
[![Arduino CI](https://github.com/RobTillaart/MHZCO2/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
||||
[![Arduino-lint](https://github.com/RobTillaart/MHZCO2/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/MHZCO2/actions/workflows/arduino-lint.yml)
|
||||
[![JSON check](https://github.com/RobTillaart/MHZCO2/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/MHZCO2/actions/workflows/jsoncheck.yml)
|
||||
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/MHZCO2.svg)](https://github.com/RobTillaart/MHZCO2/issues)
|
||||
|
||||
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/MHZCO2/blob/master/LICENSE)
|
||||
[![GitHub release](https://img.shields.io/github/release/RobTillaart/MHZCO2.svg?maxAge=3600)](https://github.com/RobTillaart/MHZCO2/releases)
|
||||
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/MHZCO2.svg)](https://registry.platformio.org/libraries/robtillaart/MHZCO2)
|
||||
|
||||
|
||||
# MHZCO2
|
||||
@ -61,6 +64,10 @@ In previous versions the MTP40F was incorrectly mentioned as compatible.
|
||||
|
||||
## Interface
|
||||
|
||||
```cpp
|
||||
#include "MHZCO2.h"
|
||||
```
|
||||
|
||||
#### Constructor
|
||||
|
||||
- **MHZCO2()** base class constructor.
|
||||
@ -117,7 +124,6 @@ See - https://keelingcurve.ucsd.edu/
|
||||
|
||||
#### Should
|
||||
|
||||
- plotter example
|
||||
- check 3000 PPM
|
||||
- fix SoftwareSerial - https://github.com/Arduino-CI/arduino_ci/issues/346
|
||||
|
||||
@ -132,3 +138,12 @@ See - https://keelingcurve.ucsd.edu/
|
||||
|
||||
#### Won't
|
||||
|
||||
|
||||
## Support
|
||||
|
||||
If you appreciate my libraries, you can support the development and maintenance.
|
||||
Improve the quality of the libraries by providing issues and Pull Requests, or
|
||||
donate through PayPal or GitHub sponsors.
|
||||
|
||||
Thank you,
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
/*
|
||||
DATASHEET P.?
|
||||
Conversion between PWM output and concentration,
|
||||
use interrupt pin 3 of Arduino UNO.
|
||||
use interrupt pin 3 of Arduino UNO.
|
||||
*/
|
||||
|
||||
|
||||
|
@ -7,6 +7,7 @@ MHZ19 KEYWORD1
|
||||
MHZ19B KEYWORD1
|
||||
MHZ19C KEYWORD1
|
||||
MHZ19D KEYWORD1
|
||||
MHZ19E KEYWORD1
|
||||
|
||||
|
||||
# Methods and Functions (KEYWORD2)
|
||||
@ -15,7 +16,9 @@ uptime KEYWORD2
|
||||
|
||||
setPPM KEYWORD2
|
||||
getPPM KEYWORD2
|
||||
|
||||
measure KEYWORD2
|
||||
lastMeasurement KEYWORD2
|
||||
getCO2 KEYWORD2
|
||||
getTemperature KEYWORD2
|
||||
getAccuracy KEYWORD2
|
||||
|
@ -15,9 +15,9 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/RobTillaart/MHZCO2.git"
|
||||
},
|
||||
"version": "0.1.3",
|
||||
"version": "0.1.4",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"frameworks": "*",
|
||||
"platforms": "*",
|
||||
"headers": "MHZCO21.h"
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=MHZCO2
|
||||
version=0.1.3
|
||||
version=0.1.4
|
||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
sentence=Arduino Library for MHZ series CO2 sensors.
|
||||
|
Loading…
Reference in New Issue
Block a user