Blog Detail

How do I run a script at Pico on boot?

As per official documentation Step by step process for pico program run after power on:

  1. Save your python program on whatever device you're running thonny/vs code on.
  2. Make a copy of it called 
  3. Disconnect the pico.
  4. Now Hold down the bootsel button and reconnect the pico.
  5. Release the bootsel button once the pico has booted and the USB host has detected it as a mass storage device.
  6. Copy to the mass storage device provided by the pico.
  7. Thats it your first program is ready to run in pico after power on