.program wfgout ; PIO assembly code ; Just output next 8 bits from OSR to the pins .wrap_target out pins, 8 .wrap ; This function is inserted in the C environment %c-sdk { static inline void wfgout_program_init(PIO pio, uint sm, uint offset, uint pinbase, uint pincount, float divide) { pio_sm_config config; uint i; for (i=0; i