import time
time.sleep(0.1) # Wait for USB to become ready

print("Hello, Pi Pico!")

# Import Lights module
from Lights import *
from Buzzer import *

# Create an instance of the Light class with the builtin LED
builtinlight = Light(pin=25, name='Builtin LED')
redlight = DimLight(pin=6, name='Builtin LED')
mybuzzer = PassiveBuzzer(pin=21, name='Sounder')


# turn the light on
redlight.setBrightness(100)
builtinlight.on()
mybuzzer.play(1000)

# wait a second
time.sleep(3)
# turn the light off
redlight.off()
builtinlight.off()
mybuzzer.stop()
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT