import time
import rp2
from machine import Pin

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

   sm = rp2.StateMachine(0, blink, freq=2000, set_base=Pin(10))

   sm.active(1)
   time.sleep(3)
   sm.active(0)
   
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT
D0D1D2D3D4D5D6D7GNDLOGIC