mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-21 23:29:48 +00:00
17 lines
269 B
Python
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)
|