Fixed issue on calibratioN

This commit is contained in:
miguel5612
2020-03-30 19:17:25 -05:00
parent 9cbc753758
commit 9497574e11
22 changed files with 191 additions and 293 deletions

View File

@ -48,6 +48,10 @@ void setup() {
Serial.begin(115200);
MQ2.setRegressionMethod(1); //_PPM = a*ratio^b
MQ2.setA(574.25); MQ2.setB(-2.222); // Configurate the ecuation values to get LPG concentration
/*
//If the RL value is different from 10K please assign your RL value with the following method:
MQ3.setRL(10);
*/
//init the sensor
MQ2.init();
//Print in serial monitor