import utime

# Initialize the start time to zero
start_time = utime.ticks_ms()

while True:
    # Get the elapsed time in milliseconds
    elapsed_time_ms = utime.ticks_diff(utime.ticks_ms(), start_time)
    
    # Convert the elapsed time to hours, minutes, and seconds
    elapsed_hours = elapsed_time_ms // (1000 * 60 * 60)
    elapsed_minutes = (elapsed_time_ms // (1000 * 60)) % 60
    elapsed_seconds = (elapsed_time_ms // 1000) % 60
    
    # Format the elapsed time as a string
    elapsed_time_str = "{:02d}:{:02d}:{:02d}".format(elapsed_hours, elapsed_minutes, elapsed_seconds)
    
    # Print the elapsed time to the console
    print(elapsed_time_str)
    
    # Wait for one second
    utime.sleep(1)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT