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

Searches for run_measurement error

Showing with 1 addition and 0 deletions
+1 -0
...@@ -159,6 +159,7 @@ class Tx(TxAbstract): ...@@ -159,6 +159,7 @@ class Tx(TxAbstract):
def polarity(self, polarity): def polarity(self, polarity):
print(polarity) print(polarity)
assert polarity in [-1, 0, 1] assert polarity in [-1, 0, 1]
print(f'asserted polarity: {self.polarity}')
self._polarity = polarity self._polarity = polarity
if polarity == 1: if polarity == 1:
self.pin0.value = True self.pin0.value = True
......
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