Код: Выделить всё
from machine import Pin
import time
led = Pin(13, Pin.OUT)
while True:
led(1)
time.sleep(1)
led(0)
time.sleep(1)
Код: Выделить всё
Traceback (most recent call last):
File "code.py", line 1, in
ImportError: no module named 'machine'
Подробнее здесь: https://stackoverflow.com/questions/715 ... ed-machine
Мобильная версия