mirror of
https://github.com/licsber/micropython.git
synced 2024-09-23 10:30:24 +08:00
5 lines
92 B
Python
5 lines
92 B
Python
|
from machine import Pin
|
||
|
|
||
|
led = Pin(25, Pin.OUT, value=0)
|
||
|
key = Pin(23, Pin.IN, Pin.PULL_UP)
|