labay11/MQ-2-sensor-library

How you get Ro?

Closed this issue · 2 comments

fega commented

Hello , I want to know, how you determine Ro in your library? thanks

Just read the code and you'll find calibration at startup...
(btw. I got this lib slightly updated MQ2Lib)

It's done in the begin() method in MQ2.cpp which assigns the value returned by MQCalibration()

And thank's to @yanoschik for updating this library.