ocoge/lib/main.py

17 lines
269 B
Python

from machine import Pin
from utime import sleep
pin = None
pin = 25
_pin = {}
_pin[pin] = Pin(pin, Pin.OUT)
for count2 in range(5):
for count in range(2):
_pin[pin].value(1)
sleep(0.1)
_pin[pin].value(0)
sleep(0.1)
sleep(0.6)