From c8fe5f41cc9dd51bec55d1d30195b5f9da151dc5 Mon Sep 17 00:00:00 2001
From: Thomas Lambert <t.lambert@uliege.be>
Date: Wed, 23 Nov 2022 11:19:35 +0100
Subject: [PATCH] fix(logg): calibrate tension

---
 controller/controller.ino | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/controller/controller.ino b/controller/controller.ino
index 6498bb2..0f6a6ff 100644
--- a/controller/controller.ino
+++ b/controller/controller.ino
@@ -42,7 +42,7 @@
 #define TENS2_PIN A1  // Tension measurement for Aft motor
 
 // Values
-#define DIV_RES1 47800.0  // Resistance of R1 in the voltage dividers
+#define DIV_RES1 48254.0  // Resistance of R1 in the voltage dividers
 #define DIV_RES2 6800.0   // Resistance of R2 in the voltage dividers
 
 #define SEN0098_VCC 5                 // Supply voltage of the current sensors
-- 
GitLab