Using the PDM code in the ArduinoCore-mbed as a guide I tried porting the simple "hello-pio" example from the Raspberry Pi PIO examples to the Nano RP2040. This code should emulate the standard blink sketch, but using PIO to interact with the GPIO pin. I can see that the sketch is running because print statements in the loop section of the sketch appear on the serial console, but I cannot get the LED to blink.
Before posting all the code, I was wondering if someone has done something similar successfully? If so, could you point me to the code? I am ultimately trying to create NeoPixel and HC-SR04 libraries using PIO for the Nano Connect.