From 22b81d8717d362e36d879e10f9d2b2f18b39383d Mon Sep 17 00:00:00 2001
From: Clement Remi <remi.clement@irstea.fr>
Date: Sat, 14 Nov 2020 10:09:25 +0100
Subject: [PATCH] translate french comments in english comments

---
 Ohmpy.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Ohmpy.py b/Ohmpy.py
index 63918284..825781ba 100644
--- a/Ohmpy.py
+++ b/Ohmpy.py
@@ -107,9 +107,9 @@ def run_measurement(nb_stack, injection_deltat, Rref, coefp0, coefp1, coefp2, co
     # resistance measurement
     for n in range(0,3+2*nb_stack-1) :        
         if (n % 2) == 0:
-            GPIO.output(7, GPIO.HIGH) # polarité n°1        
+            GPIO.output(7, GPIO.HIGH) # polarity n°1        
         else:
-            GPIO.output(7, GPIO.LOW) # polarité n°1 également ?        
+            GPIO.output(7, GPIO.LOW) # polarity n°2        
         GPIO.output(8, GPIO.HIGH) # current injection
         time.sleep(injection_deltat) # delay depending on current injection duration
         Ia1 = AnalogIn(ads,ADS.P0).voltage * coefp0 # reading current value on ADS channel A0
-- 
GitLab