Update smokeDetector.ino

Semi colon before the curly bracket.
This commit is contained in:
Prabhu 2021-05-10 13:27:40 +05:30 committed by GitHub
parent 874be50106
commit 1818c3cf1a
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);
}