A universal library for the MH-Z19B/C/D CO2 sensor for Arduino AVR, ESP32, and STM32 platforms.
This library supports reading CO2 concentration via UART or PWM.