mirror of
https://github.com/licsber/micropython.git
synced 2024-09-23 10:30:24 +08:00
bdbc44474f
This supports 2, 4, 8 and 16MB flash variants.
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)
|