Skip to content
Snippets Groups Projects
Commit 6214a9dd authored by Gijs Schoonderbeek's avatar Gijs Schoonderbeek
Browse files

Back to working

parent 0a9fd456
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ else:
from I2C_serial import *
I2CBUSNR = 3
I2CBUSNR = 1
DEBUG = False
class ApspuClass:
......@@ -301,7 +301,7 @@ class PolClass:
#
if self.status:
ret_ack, raw_value = self.pol_dev.read_bytes(0x39,2)
ret_ack, raw_value = self.pol_dev.read_bytes(LP_IOUT, 2)
ret_ack, raw_value = self.pol_dev.read_bytes(LP_IOUT, 3)
ret_value = []
ret_value.append(int(raw_value[:2], 16))
ret_value.append(int(raw_value[2:], 16))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment