When I use the below command, I can assert 5 of my set pins high:Ideally, I would like to assert more than 5 pins high so I was looking into using OUT instead of SET. However, I can't seem to even get the 5 pins to become high when I use the below code instead of the above code:I read in the PIO Instruction Set Reference that "32 is encoded as 00000" but I cannot use 0 as a parameter so I'm assuming the PIO assembler converts 32 into 00000. Even if I use 16 (or 5) with OUT pins, I still cannot get my outputs to go high.
What am I missing?
Code:
set pins 31
Code:
mov osr, !nullout pins, 32
What am I missing?
Statistics: Posted by SparkyNZ — Sun Oct 13, 2024 2:57 am