Commit 22757735 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Attemps to use the sampling_rate in _vab_pulse

Showing with 1 addition and 1 deletion
+1 -1
......@@ -59,9 +59,9 @@ class OhmPiHardware:
def _read_values(self, sampling_rate): # noqa
_readings = []
sample = 0
self.tx_sync.wait()
start_time = datetime.datetime.utcnow()
sample=0
while self.tx_sync.is_set():
lap = datetime.datetime.utcnow()
_readings.append([elapsed_seconds(start_time), self.tx.current, self.rx.voltage])
......
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