Commit af69141d authored by Forquet Nicolas's avatar Forquet Nicolas
Browse files

comment and text fixing in ohmpy and modification of the interrogation array...

comment and text fixing in ohmpy and modification of the interrogation array to have something actually working for demonstration
Showing with 13 additions and 22 deletions
+13 -22
1 1 1 1 1 4 2 3
2 2 2 2 2 5 3 4
3 3 3 3 3 6 4 5
4 4 4 4 4 7 5 6
5 5 5 5 5 8 6 7
6 6 6 6 6 9 7 8
7 7 7 7 7 10 8 9
8 8 8 8 8 11 9 10
9 9 9 9 9 12 10 11
10 10 10 10 10 13 11 12
11 11 11 11 \ No newline at end of file
12 12 12 12
13 13 13 13
14 14 14 14
15 15 15 15
16 16 16 16
17 17 17 17
\ No newline at end of file
""" """
29/10/2019 January 6, 2020
OHMPY_code is a program to control the low-cost and open source resistivity meter ohmpi.py is a program to control a low-cost and open source resistivity meter OhmPi that has been developed by Rémi CLEMENT,Vivien DUBOIS, Nicolas FORQUET (INRAE), and Yannick FARGIER (IFSTTAR).
OHMPY, it has been developed by Rémi CLEMENT,Vivien DUBOIS, Nicolas FORQUET (IRSTEA) and Yannick FARGIER (IFSTTAR).
""" """
print('OHMPI start' ) print('OHMPI start' )
print('Import library') print('Import library')
#!/usr/bin/python
import RPi.GPIO as GPIO import RPi.GPIO as GPIO
import time import time
from datetime import datetime from datetime import datetime
...@@ -43,7 +41,7 @@ coef_p0 = 2.02 # slope for current conversion for ADS.P0, measurement in V/V ...@@ -43,7 +41,7 @@ coef_p0 = 2.02 # slope for current conversion for ADS.P0, measurement in V/V
coef_p1 = 2.02 # slope for current conversion for ADS.P1, measurement in V/V coef_p1 = 2.02 # slope for current conversion for ADS.P1, measurement in V/V
coef_p2 = 1 # slope for current conversion for ADS.P2, measurement in V/V coef_p2 = 1 # slope for current conversion for ADS.P2, measurement in V/V
coef_p3 = 1 # slope for current conversion for ADS.P3, measurement in V/V coef_p3 = 1 # slope for current conversion for ADS.P3, measurement in V/V
export_path = "/home/pi/Desktop/ohmpy-develop/measurement.csv" export_path = "~/measurement.csv"
""" """
functions functions
......
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