/MH-Z19B-CO2-Sensor-Serial

Reads and controls the MH-Z19B CO2 module by Winsen.

Primary LanguageC++MIT LicenseMIT

MHZ19BCO2SensorSerial

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.

Usage

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

LICENSE

Copyright 2019 Jidesh Veeramachaneni
Distributed under the MIT License