Chapter 6 code

This commit is contained in:
Danny Staple
2022-01-28 21:10:14 +00:00
parent fd4b0cb544
commit 881355daaa
23 changed files with 723 additions and 33 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ sm = rp2pio.StateMachine(
print("real frequency", sm.frequency)
while True:
sm.write(bytes((1,)))
sm.write(bytes([1]))
time.sleep(0.5)
sm.write(bytes((0,)))
sm.write(bytes([0]))
time.sleep(0.5)