print("Hello, Pi Pico!")
print("This is Experiment - 2 and Objective - 5")
print("Objective : 5 Implementation of a more efficient electronic circuit in which an external LED with buzzer sends the SOS signal in Morse code using Raspberry Pi Pico and a transistor.")
from machine import Pin
from utime import sleep
dot = 0.25
dash = 1
gap = 0.5
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(dot)
    sleep(gap)
    for i in range(0,3):
        led.value(ON)
        sleep(dash)
        led.value(OFF)
        sleep(dash)
    sleep(gap)
    for i in range(0,3):
        led.value(ON)
        sleep(dot)
        led.value(OFF)
        sleep(dot)
    sleep(gap)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT