#################################################### # visual Thonny breakout. #use this declaration for Pico1 & Pico2 # Set Pin25 as output (Pin 25 is where the onboard LED is connected) LED = Pin(25, Pin.OUT) # Print a message in Thonny to remind user to break out of code now. print('booting... Press ctrl-c to stop') # loop 20 times for i in range (20): # turn on LED, wait half a second. #for Pico1 & Pico2 LED.on() time.sleep(0.5) # turn off LED, wait half a second. LED.off() time.sleep(0.5) ####################################################