Merge pull request #46 from Prabhuelectro/patch-1

Update smokeDetector.ino
This commit is contained in:
Miguel Angel Califa Urquiza 2022-02-06 17:17:48 -05:00 committed by GitHub
commit 4a3d46f47e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ void setup() {
//Lecture will be saved in lecture variable
MQ4.update();
float smokePPM = MQ4.readSensor(); // Sensor will read PPM concentration using the model and a and b values setted before or in the setup
if(smokePPM > 1000) {Serial.println("Warning: High concentrations of smoke detected")};
if(smokePPM > 1000) {Serial.println("Warning: High concentrations of smoke detected");}
MQ4.serialDebug(); // Will print the table on the serial port
delay(400);
}