Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4878

Troubleshooting • PICO does not execute with main.py....

$
0
0
1) Here from the example:

Code:

from machine import Pin, Timerled = Pin(25, Pin.OUT)timer = Timer()def blink(timer):    led.toggle()timer.init(freq=2, mode=Timer.PERIODIC, callback=blink)
2) download RPI_PICO-20240602-v1.23.0.uf2 and drag drop to PICO drive (use bootsel button) and reboot itself.

3) Use Thonny and save main.py into PICO. (press play and it's works)

4) copy main.py to Pico drive (use bootsel button)

5) unplug and plug the USB nothing happen but I have to use THONNY and click play it's work but not run itself? did I missed?

Statistics: Posted by ATARI_LIVE — Tue Jul 02, 2024 1:19 am



Viewing all articles
Browse latest Browse all 4878

Trending Articles