MH-Z19B-CO2-Sensor-Serial (community library)
|All Versions||1.0.2, 1.0.1, 1.0.0|
Read and control the MH-Z19B CO2 Module. Uses the UART interface on the MH-Z19B module. Template class so you can easily use any Serial interface on the Electron.
Example Build Testing
Device OS Version:
This table is generated from an automated build. Success only indicates that the code compiled successfully.
Library Read Me
This content is provided by the library maintainer and has not been validated or approved.
A header only library that reads and controls the MH-Z19B CO2 module by Winsen. This library is published as a Particle Library for use with the Particle Photon and Particle Electron platforms. For other platforms just copy the header file MH-Z19B-CO2-Sensor-Serial.h to your project.
The library has been tested using Google Test.
See the example for a complete example.
You may clone this repository and run the tests by doing the following:
mkdir build cd build cmake .. make make test
Copyright 2019 Jidesh Veeramachaneni Distributed under the MIT License
Browse Library Files