Commit 3d4104f2 authored by Clement Remi's avatar Clement Remi
Browse files

Merge branch 'master' of https://gitlab.irstea.fr/reversaal/OhmPi

Showing with 2 additions and 0 deletions
+2 -0
...@@ -33,6 +33,8 @@ print(current_time.strftime("%Y-%m-%d %H:%M:%S")) ...@@ -33,6 +33,8 @@ print(current_time.strftime("%Y-%m-%d %H:%M:%S"))
Hardware parameters Hardware parameters
""" """
R_shunt = 0.2# reference resistance value in ohm R_shunt = 0.2# reference resistance value in ohm
Imax=4800/50/2
print(colored('The maximum current cannot be higher than 48 mA', 'red'))
coef_p2 = 2.50# slope for current conversion for ADS.P2, measurement in V/V coef_p2 = 2.50# slope for current conversion for ADS.P2, measurement in V/V
coef_p3 = 2.50 # slope for current conversion for ADS.P3, measurement in V/V coef_p3 = 2.50 # slope for current conversion for ADS.P3, measurement in V/V
offset_p2= 0 offset_p2= 0
......
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