diff --git a/include/YourSensor.h b/include/YourSensor.h index fdef14b9..7aa47846 100644 --- a/include/YourSensor.h +++ b/include/YourSensor.h @@ -8,6 +8,5 @@ extern void AHTX0_init(); extern void LCD_init(); extern void BH1750_init(); -//extern SoftwareSerial K_30_Serial; extern unsigned long getValue(byte packet[]); extern void sendRequest(byte packet[]); \ No newline at end of file diff --git a/src/YourSensor.cpp b/src/YourSensor.cpp index 3e6e9ff5..054e1c8c 100644 --- a/src/YourSensor.cpp +++ b/src/YourSensor.cpp @@ -79,7 +79,7 @@ float yourSensorReading(String type, String paramsAny) { BH1750_init(); value = lightMeter.readLightLevel(); } - //==========================================================BH1750================================================================= + //==========================================================co2================================================================= if (type == "valCO2") { K_30_Serial.begin(9600); sendRequest(readCO2);