Skip to content

Commit ef66ca9

Browse files
authored
Remove print in library.
library should not print
1 parent 61c8964 commit ef66ca9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_pioasm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def assemble(text_program):
5959
max_delay = 2 ** (5 - sideset_count) - 1
6060
assembled = []
6161
for instruction in instructions:
62-
print(instruction)
62+
# print(instruction)
6363
instruction = instruction.split()
6464
delay = 0
6565
if instruction[-1].endswith("]"): # Delay
@@ -162,6 +162,6 @@ def assemble(text_program):
162162
else:
163163
raise RuntimeError("Unknown instruction:" + instruction)
164164
assembled[-1] |= delay << 8
165-
print(hex(assembled[-1]))
165+
# print(hex(assembled[-1]))
166166

167167
return array.array("H", assembled)

0 commit comments

Comments
 (0)