When I run my code to blink a LED, Thonny runs it well. But on the Raspberry Pi Pico itself the LED is not blinking:
from machine import Pin
from time import sleep
led = Pin(25, Pin.OUT)
while True:
led.toggle()
sleep(0.1)
I tried resetting the whole board.