from machine import Pin
from utime import sleep

led = Pin(5, Pin.OUT)

for minute in range(3):
    for _ in range((minute + 1) * 5 * 2):
        led.high()  # Turn the LED on
        sleep(0.5)
        led.low()   # Turn the LED off
        sleep(0.5)
    if minute < 2:
        sleep(60 - ((minute + 1) * 5 * 2) * 1.0)  # Sleep for the remaining seconds of the minute
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT