• Re: Python Autostart (Pico)

    From A. Dumas@3:770/3 to F. W. on Wed Nov 3 09:07:43 2021
    On 03-11-2021 08:40, F. W. wrote:
    (how) can I force the Pico to start my Python-program when connected?

    By saving it on the Pico as "main.py", it will run after every reset.
    Using Thonny is the simplest way of uploading/editing/renaming files on
    the Pico.

    To set that up, see from page 17 in https://hackspace.raspberrypi.com/books/micropython-pico (free pdf
    download from there) although maddingly, the "main.py" fact isn't
    mentioned anywhere in that book. It is on page 29 of the Python SDK doc: https://datasheets.raspberrypi.com/pico/raspberry-pi-pico-python-sdk.pdf
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From F. W.@3:770/3 to All on Wed Nov 3 08:40:42 2021
    Hi,

    (how) can I force the Pico to start my Python-program when connected?

    FW (Python Beginner)
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From F. W.@3:770/3 to All on Wed Nov 3 10:03:22 2021
    Am 03.11.2021 um 09:07 schrieb A. Dumas:

    By saving it on the Pico as "main.py", it will run after every reset.
    Using Thonny is the simplest way of uploading/editing/renaming files on
    the Pico.

    Very simple. Very good. I thank you! :-)

    FW
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)