mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.1.2 MHZCO2
This commit is contained in:
parent
751a850b70
commit
4c559711dd
@ -14,15 +14,18 @@ packages:
|
||||
url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
|
||||
|
||||
compile:
|
||||
# Choosing to run compilation tests on 2 different Arduino platforms
|
||||
# Choosing to run compilation tests on 2 different Arduino platforms
|
||||
platforms:
|
||||
- uno
|
||||
# - due
|
||||
# - zero
|
||||
# - leonardo
|
||||
# - m4
|
||||
#- esp32
|
||||
#- esp8266
|
||||
- m4
|
||||
- esp32
|
||||
- esp8266
|
||||
# - mega2560
|
||||
# - rpipico
|
||||
- rpipico
|
||||
|
||||
# external libraries
|
||||
libraries:
|
||||
# - SoftwareSerial # does not work
|
||||
|
@ -6,7 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
|
||||
## [0.1.1] - 2023-06-01
|
||||
## [0.1.2] - 2023-01-18
|
||||
- fix build - SoftwareSerial problem
|
||||
- fix version in .cpp
|
||||
- fix date in changelog
|
||||
- minor edit in readme.md
|
||||
|
||||
|
||||
## [0.1.1] - 2023-01-06
|
||||
- rename to MHZCO2
|
||||
- create derived classes
|
||||
- move code from .h to .cpp
|
||||
|
@ -1,7 +1,7 @@
|
||||
//
|
||||
// FILE: MHZCO2.cpp
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.1.0
|
||||
// VERSION: 0.1.2
|
||||
// PURPOSE: Arduino Library for MHZ series CO2 sensors
|
||||
// DATE: 2020-05-05
|
||||
// URL: https://github.com/RobTillaart/MHZCO2
|
||||
@ -207,6 +207,5 @@ MTP40F::MTP40F() : MHZCO2()
|
||||
}
|
||||
|
||||
|
||||
|
||||
// -- END OF FILE --
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// FILE: MHZCO2.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.1.1
|
||||
// VERSION: 0.1.2
|
||||
// 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.1"))
|
||||
#define MHZCO2_LIB_VERSION (F("0.1.2"))
|
||||
|
||||
#define MHZCO2_OK 0
|
||||
#define MHZCO2_TIMEOUT -10
|
||||
|
@ -91,20 +91,27 @@ The latter two might not be supported by all MH sensors.
|
||||
## Future
|
||||
|
||||
#### Must
|
||||
|
||||
- improve documentation
|
||||
- buy hardware MHZ19B / MHZ19C
|
||||
- test with hardware
|
||||
- verify checksum
|
||||
- verify timeout
|
||||
|
||||
#### Should
|
||||
|
||||
#### Should
|
||||
|
||||
- plotter example
|
||||
- check 3000 PPM
|
||||
- fix SoftwareSerial - https://github.com/Arduino-CI/arduino_ci/issues/346
|
||||
|
||||
|
||||
#### Could
|
||||
|
||||
- extend unit tests
|
||||
- add type info for derived classes?
|
||||
- save RAM? possible?
|
||||
|
||||
|
||||
#### Won't
|
||||
|
||||
|
@ -14,15 +14,15 @@ packages:
|
||||
url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
|
||||
|
||||
compile:
|
||||
# Choosing to run compilation tests on 2 different Arduino platforms
|
||||
# Choosing to run compilation tests on 2 different Arduino platforms
|
||||
platforms:
|
||||
# - uno
|
||||
# - due
|
||||
# - zero
|
||||
# - leonardo
|
||||
# - m4
|
||||
#- esp32
|
||||
#- esp8266
|
||||
- mega2560
|
||||
# - esp32
|
||||
# - esp8266
|
||||
- mega2560 # has a Serial1
|
||||
# - rpipico
|
||||
|
||||
|
31
libraries/MHZCO2/examples/MHZCO2_sw_serial/.arduino-ci.yml
Normal file
31
libraries/MHZCO2/examples/MHZCO2_sw_serial/.arduino-ci.yml
Normal file
@ -0,0 +1,31 @@
|
||||
platforms:
|
||||
rpipico:
|
||||
board: rp2040:rp2040:rpipico
|
||||
package: rp2040:rp2040
|
||||
gcc:
|
||||
features:
|
||||
defines:
|
||||
- ARDUINO_ARCH_RP2040
|
||||
warnings:
|
||||
flags:
|
||||
|
||||
packages:
|
||||
rp2040:rp2040:
|
||||
url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
|
||||
|
||||
compile:
|
||||
# Choosing to run compilation tests on 2 different Arduino platforms
|
||||
platforms:
|
||||
# - uno
|
||||
# - due
|
||||
# - zero
|
||||
# - leonardo
|
||||
# - m4
|
||||
# - esp32
|
||||
# - esp8266
|
||||
# - mega2560
|
||||
# - rpipico
|
||||
# external libraries
|
||||
libraries:
|
||||
# - "SoftwareSerial" does not work
|
||||
|
@ -15,7 +15,7 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/RobTillaart/MHZCO2.git"
|
||||
},
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"platforms": "*",
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=MHZCO2
|
||||
version=0.1.1
|
||||
version=0.1.2
|
||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
sentence=Arduino Library for MHZ series CO2 sensors.
|
||||
|
Loading…
x
Reference in New Issue
Block a user