Skip to content
Discussion options

You must be logged in to vote

Thanks for taking a look Norbert. It appears I didn't configure the PIO properly... I needed to set out_init=rp2.PIO.OUT_HIGH in my @rp2.asm_pio decorator:

@rp2.asm_pio(out_init=rp2.PIO.OUT_HIGH, set_init=rp2.PIO.OUT_HIGH, sideset_init=rp2.PIO.OUT_HIGH)

Without that line, the PIO out(pins, 1) instruction didn't work. With that line, out(pins, 1) appears to work as expected. I will update this ticket once my code is working properly

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by electronich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants