From f5c1969a801cba4a9b2fbed094e36abd0b20474f Mon Sep 17 00:00:00 2001 From: Yohan Boujon Date: Tue, 3 Dec 2024 16:30:20 +0100 Subject: [PATCH] Fixed analog issue --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index f6f87a8..ea1e72b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -105,7 +105,7 @@ void setup() { void loop() { test_RN2483A(); Serial.print("Value from sensor: "); - Serial.println(gaz_sensor.get_value()); + Serial.println(gaz_sensor.get_analog()); delay(1000); // Test communication to gateway