Open
Description
Hi,
I did a code that need pio_gpio_base set to 16.
However, we must use the GPIO pin number -16 in the wait instruction.
if we do this, the pio asm set the used_gpio_range to 2, and the sdk refuse to load the program with the return code -11
GPIO used for the wait : Pin 30 then goes to 14 when we remove 16.
I had to send the instruction via the register X, then do "mov exec,X" to have it doing the wait on the correct pin.
(It works like that)
Activity