From 8871aaf8a545748a83933ef8021a62ee32e9d973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Bail=C3=B3n=20Bustos?= Date: Thu, 8 Jun 2023 17:21:38 +0000 Subject: [PATCH] =?UTF-8?q?Calibraci=C3=B3n=20de=20medici=C3=B3n=20de=20lo?= =?UTF-8?q?s=20sensores?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lecturaArduino/lecturaArduino.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lecturaArduino/lecturaArduino.ino b/lecturaArduino/lecturaArduino.ino index cf5bb3d..24b298a 100644 --- a/lecturaArduino/lecturaArduino.ino +++ b/lecturaArduino/lecturaArduino.ino @@ -18,8 +18,8 @@ void loop() { // put your main code here, to run repeatedly: lectura1 = analogRead(in1); lectura2 = analogRead(in2); - temp1 = (lectura1 * 5000 / 1023 / 10) - 33; - temp2 = (lectura2 * 5000 / 1023 / 10) - 37; + temp1 = (lectura1 * 5000 / 1023 / 10) - 52; + temp2 = (lectura2 * 5000 / 1023 / 10) - 52; Serial.println(temp1); Serial.println(temp2); if(Serial.available()>0){