From 1818c3cf1a88a9dcc0a7233c79c18d40cd25c1ea Mon Sep 17 00:00:00 2001 From: Prabhu <32390411+Prabhuelectro@users.noreply.github.com> Date: Mon, 10 May 2021 13:27:40 +0530 Subject: [PATCH] Update smokeDetector.ino Semi colon before the curly bracket. --- examples/smokeDetector/smokeDetector.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/smokeDetector/smokeDetector.ino b/examples/smokeDetector/smokeDetector.ino index 973cc5a..d133ec1 100644 --- a/examples/smokeDetector/smokeDetector.ino +++ b/examples/smokeDetector/smokeDetector.ino @@ -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); }