Arduino library for MH-Z16 CO2 sensor bases on SoftwareSerail library.
Create an instance of a Mhz16 object.
Mhz16 mhz16(rx_pin, tx_pin);
Start Mhz16 object.
mhz16.begin(9600);
Return co2 concentration value.
int co2 = mhz16.readGasConcentration();
mhz16.calibrateZeroPoint()