Code.py
#Functions  
def dot(): #Function that makes a dot with the led
    led.value = True #Turn on the LED 
    sleep(0.5) #Sleep of 0.5 seconds
    led.value = False #Turn off the LED 
    sleep(0.5) #Sleep of 0.5 seconds