We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61c8964 commit ef66ca9Copy full SHA for ef66ca9
adafruit_pioasm.py
@@ -59,7 +59,7 @@ def assemble(text_program):
59
max_delay = 2 ** (5 - sideset_count) - 1
60
assembled = []
61
for instruction in instructions:
62
- print(instruction)
+# print(instruction)
63
instruction = instruction.split()
64
delay = 0
65
if instruction[-1].endswith("]"): # Delay
@@ -162,6 +162,6 @@ def assemble(text_program):
162
else:
163
raise RuntimeError("Unknown instruction:" + instruction)
164
assembled[-1] |= delay << 8
165
- print(hex(assembled[-1]))
+# print(hex(assembled[-1]))
166
167
return array.array("H", assembled)
0 commit comments