This commit is contained in:
Dmitry Borisenko
2021-12-26 19:08:06 +01:00
parent f477d5838b
commit c6d45f5d9a
2 changed files with 1 additions and 2 deletions

View File

@@ -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[]);

View File

@@ -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);