import time
from rp2 import PIO, StateMachine, asm_pio
from machine import Pin
PIN_BASE = 10

@asm_pio(set_init=PIO.OUT_LOW)
def blink():
   set(pins, 1)   [31]
   nop()          [31]
   nop()          [31]
   nop()          [31]
   nop()          [31]
   nop()          [31]
   nop()          [31]
   nop()          [31]
   set(pins, 0)   [31]
   nop()          [31]
   nop()          [31]
   nop()          [31]
   nop()          [31]
   nop()          [31]
   nop()          [31]
   nop()          [31]


sm = StateMachine(0, blink, freq=2000, set_base=Pin(PIN_BASE))
sm.active(1)
time.sleep(4)
sm.active(0)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT
D0D1D2D3D4D5D6D7GNDLOGIC