Skip to content

Commit 2c82961

Browse files
committed
pioasm_neopixel: Fix pin specifications, drop unneeded init=
1 parent 235dc40 commit 2c82961

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/pioasm_neopixel.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@
2828
sm = rp2pio.StateMachine(
2929
assembled,
3030
frequency=800000 * 6, # 800khz * 6 clocks per bit
31-
init=adafruit_pioasm.assemble("set pindirs 1"),
32-
first_set_pin=board.D12,
33-
first_sideset_pin=board.D12,
31+
first_set_pin=board.GP12,
32+
first_sideset_pin=board.GP12,
3433
auto_pull=True,
3534
out_shift_right=False,
3635
pull_threshold=8,

0 commit comments

Comments
 (0)