Commit 22b81d87 authored by Clement Remi's avatar Clement Remi
Browse files

translate french comments in english comments

Showing with 2 additions and 2 deletions
+2 -2
......@@ -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é1 également ?
GPIO.output(7, GPIO.LOW) # polarity2
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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment