All I am trying to do is get a reading:
from cal import Old_tables
from alicat import FlowMeter
flow = FlowMeter(port="/dev/ttyUSB0")
value = flow.get()
print(str(value))
and I get the error message:
Traceback (most recent call last):
File "test.py", line 6, in
value = flow.get()
File "/home/pi/.local/lib/python3.7/site-packages/alicat/serial.py", line 127, in get
for k, v in zip(self.keys, values)}
File "/home/pi/.local/lib/python3.7/site-packages/alicat/serial.py", line 127, in
for k, v in zip(self.keys, values)}
ValueError: could not convert string to float: '2022-12-01'
All I am trying to do is get a reading:
from cal import Old_tables
from alicat import FlowMeter
flow = FlowMeter(port="/dev/ttyUSB0")
value = flow.get()
print(str(value))
and I get the error message:
Traceback (most recent call last):
File "test.py", line 6, in
value = flow.get()
File "/home/pi/.local/lib/python3.7/site-packages/alicat/serial.py", line 127, in get
for k, v in zip(self.keys, values)}
File "/home/pi/.local/lib/python3.7/site-packages/alicat/serial.py", line 127, in
for k, v in zip(self.keys, values)}
ValueError: could not convert string to float: '2022-12-01'