Revert to Pin 25 from "LED"

pull/60/head
Toby Roberts 2023-02-28 14:07:55 +00:00 zatwierdzone przez GitHub
rodzic 18ee8b84e5
commit 4edbf0e18a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -14,8 +14,8 @@ def prog():
pass
# Construct the StateMachine, binding LED to the set pin.
sm = rp2.StateMachine(0, prog, set_base=Pin("LED"))
# Construct the StateMachine, binding Pin 25 to the set pin.
sm = rp2.StateMachine(0, prog, set_base=Pin(25))
# Turn on the set pin via an exec instruction.
sm.exec("set(pins, 1)")