micropython/ports/rp2/boards/VCC_GND_RP2040/modules/board.py

5 wiersze
83 B
Python

from machine import Pin
led = Pin(25, Pin.OUT)
key = Pin(24, Pin.IN, Pin.PULL_UP)