Skip to content

datphys/MHZ16-CO2-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MHZ16-CO2-sensor

Arduino library for MH-Z16 CO2 sensor bases on SoftwareSerail library.

Functions

Mhz16()

Create an instance of a Mhz16 object.

Mhz16 mhz16(rx_pin, tx_pin);

begin()

Start Mhz16 object.

mhz16.begin(9600);

readGasConcentration()

Return co2 concentration value.

int co2 = mhz16.readGasConcentration();

calibrateZeroPoint()

mhz16.calibrateZeroPoint()

Releases

No releases published

Packages

No packages published

Languages