Commit bd0f215e authored by Rémi's avatar Rémi
Browse files

update

No related merge requests found
Showing with 24 additions and 949 deletions
+24 -949
......@@ -11,19 +11,8 @@
11 14 12 13
12 15 13 14
13 16 14 15
14 17 15 16
15 18 16 17
16 19 17 18
17 20 18 19
18 21 19 20
19 22 20 21
20 23 21 22
21 24 22 23
22 25 23 24
23 26 24 25
24 27 25 26
25 28 26 27
26 29 27 28
27 30 28 29
28 31 29 30
29 32 30 31
1 7 3 5
2 8 4 6
3 9 5 7
4 10 6 8
5 11 7 9
This diff is collapsed.
......@@ -25,7 +25,7 @@ OHMPI_CONFIG = {
'board_version': 'mb.2023.0.0',#,'22.10',
'mcp_board_address': 0x21,
'i2c_mux_address': 2, # 2 if on same bus as the measurement board, 4 if additional bus
'vmn_offset': 0
'vmn_offset': 29
} # TODO: add a dictionary with INA models and associated gain values
# SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
......
import os
import numpy as np
import time
import matplotlib.pyplot as plt
os.chdir("/home/pi/OhmPi")
import sys
sys.path.append("/home/pi/OhmPi")
from ohmpi import OhmPi
### Define object from class OhmPi
k = OhmPi(use_mux=True, idps=True)
k.test_led()
\ No newline at end of file
This diff is collapsed.
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