# ==================================================
"""
Project objective: Blink four external LEDs connected to the Raspberry Pi Pico
Hardware and connections used:
Anode of four LEDs to GPIO pins 6-9 of Raspberry Pi Pico
220 ohm resistor connected in series to each LED
Author: Adrian Josele G. Quional
"""
# ==================================================
# modules
from machine import Pin
from time import sleep
# setting GPIO Pins 6-9 as OUT
# note: any GPIO pin can be used
LED1 = Pin(6, Pin.OUT)
# continuously blink all 4 LEDs at the same time while the board has power
while True:
LED1.on()
sleep(1)
LED1.off()
sleep(1)