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 8973584 commit 4ceb54bCopy full SHA for 4ceb54b
adafruit_pioasm.py
@@ -60,7 +60,7 @@ def assemble(text_program):
60
max_delay = 2 ** (5 - sideset_count) - 1
61
assembled = []
62
for instruction in instructions:
63
-# print(instruction)
+ # print(instruction)
64
instruction = instruction.split()
65
delay = 0
66
if instruction[-1].endswith("]"): # Delay
@@ -163,6 +163,6 @@ def assemble(text_program):
163
else:
164
raise RuntimeError("Unknown instruction:" + instruction)
165
assembled[-1] |= delay << 8
166
-# print(hex(assembled[-1]))
+ # print(hex(assembled[-1]))
167
168
return array.array("H", assembled)
0 commit comments