ATARI_LIVE
Posts: 38
Joined: Sun Sep 20, 2020 6:55 pm

Create AUTORUN in the PICO...

Wed Jan 27, 2021 10:13 am

I searched the posts and did not clear to understand. :(

I am new on the PICO... When I created a blinking LED and saved a file "blinking" in the PICO's memory and run from the Thonny and works good. :mrgreen:

How can I create an AUTORUN when I plug in the power on the PICO?


THANKS!

User avatar
B.Goode
Posts: 13954
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Create AUTORUN in the PICO...

Wed Jan 27, 2021 10:25 am

ATARI_LIVE wrote:
Wed Jan 27, 2021 10:13 am
I searched the posts and did not clear to understand. :(

I am new on the PICO... When I created a blinking LED and saved a file "blinking" in the PICO's memory and run from the Thonny and works good. :mrgreen:

How can I create an AUTORUN when I plug in the power on the PICO?


THANKS!


See Page 113 in Chapter 9 of the Get Started with Micropython 'book'.




tl;dr - main.py




[Your search obviously didn't find this - viewtopic.php?f=144&t=299875 ]

ATARI_LIVE
Posts: 38
Joined: Sun Sep 20, 2020 6:55 pm

Re: Create AUTORUN in the PICO...

Wed Jan 27, 2021 10:37 am

B.Goode wrote:
Wed Jan 27, 2021 10:25 am
ATARI_LIVE wrote:
Wed Jan 27, 2021 10:13 am
I searched the posts and did not clear to understand. :(

I am new on the PICO... When I created a blinking LED and saved a file "blinking" in the PICO's memory and run from the Thonny and works good. :mrgreen:

How can I create an AUTORUN when I plug in the power on the PICO?


THANKS!


See Page 113 in Chapter 9 of the Get Started with Micropython 'book'.




tl;dr - main.py




[Your search obviously didn't find this - viewtopic.php?f=144&t=299875 ]
Thanks! but which book? I looked up and there are different books. but is this one?
https://www.bookdepository.com/Get-Star ... pos-:dev-c

thanks again

User avatar
B.Goode
Posts: 13954
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Create AUTORUN in the PICO...

Wed Jan 27, 2021 10:55 am

ATARI_LIVE wrote:
Wed Jan 27, 2021 10:37 am
B.Goode wrote:
Wed Jan 27, 2021 10:25 am
ATARI_LIVE wrote:
Wed Jan 27, 2021 10:13 am
I searched the posts and did not clear to understand. :(

I am new on the PICO... When I created a blinking LED and saved a file "blinking" in the PICO's memory and run from the Thonny and works good. :mrgreen:

How can I create an AUTORUN when I plug in the power on the PICO?


THANKS!


See Page 113 in Chapter 9 of the Get Started with Micropython 'book'.




tl;dr - main.py




[Your search obviously didn't find this - viewtopic.php?f=144&t=299875 ]
Thanks! but which book? I looked up and there are different books. but is this one?
https://www.bookdepository.com/Get-Star ... pos-:dev-c

thanks again


This is the reference to the Raspberry Pi blog promoting the book -
https://www.raspberrypi.org/blog/new-bo ... y-pi-pico/

Another direct link - https://hackspace.raspberrypi.org/books ... ython-pico

ATARI_LIVE
Posts: 38
Joined: Sun Sep 20, 2020 6:55 pm

Re: Create AUTORUN in the PICO...

Wed Jan 27, 2021 12:42 pm

Got it! and worked. thank you!

nakomis
Posts: 1
Joined: Mon Feb 08, 2021 6:26 pm

Re: Create AUTORUN in the PICO...

Mon Feb 08, 2021 6:28 pm

tl;dr - main.py

^^
Perfect! Just what I came here to find - Thanks :-)

Return to “General”