Commit 950683dc 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 2 deletions
+2 -2
...@@ -30,7 +30,7 @@ from gpiozero import CPUTemperature ...@@ -30,7 +30,7 @@ from gpiozero import CPUTemperature
current_time = datetime.now() current_time = datetime.now()
print(current_time.strftime("%Y-%m-%d %H:%M:%S")) 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
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
...@@ -41,7 +41,7 @@ integer=10 ...@@ -41,7 +41,7 @@ integer=10
meas=numpy.zeros((3,integer)) meas=numpy.zeros((3,integer))
""" """
import parameters Import parameters
""" """
with open('ohmpi_param.json') as json_file: with open('ohmpi_param.json') as json_file:
......
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