from machine import Pin
from utime import sleep
Dot=0.25
Dash=1.0
Gap=0.2
ON=1
OFF=0
LED=Pin(0,Pin.OUT)
while True:
for i in range(0,3):
LED.value(ON)
sleep(Dot)
LED.value(OFF)
sleep(Gap)
sleep(0.5)
for i in range(0,3):
LED.value(ON)
sleep(Dash)
LED.value(OFF)
sleep(Gap)
sleep(2)