1
0

Sensor MQ7 init and read

This commit is contained in:
AlejandroJose2001
2025-04-10 16:18:14 +02:00
parent 245f213ad9
commit 4eb2fcd6ed
3 changed files with 39 additions and 1 deletions

View File

@@ -22,11 +22,13 @@ void setup() {
Serial.print("Error connecting to WiFi");
}
MQ7_init();
// test get
getRequest(httpClient, "http://172.20.10.7:8082/api/v1/sensors/1/values", response);
deserializeSensorValue(httpClient, httpClient.GET());
}
void loop() {
MQ7_read();
}