Тёмный

Auto-start scripts on MicroPython 

Kevin McAleer
Подписаться 32 тыс.
Просмотров 11 тыс.
50% 1

Do you want to know how to auto-start MicroPython scripts on Raspberry Pi Pico, CircuitPython devices or BBC micro:bits? Then this is the video for you.
I go through the why, and how in this video and the differences between the different versions of MicroPython.
For more information, tutorials, parts and more visit:
www.smarsfan.com​
To join the membership at bronze, silver or gold levels, head over to
www.smarsfan.com/membership
Enjoy this video? Buy me a coffee!
www.buymeacoffee.com/kevinmca...
Music by Epidemic Sounds
www.epidemicsound.com/referra...
#Pico​ #MicroPython​ #Robotics

Развлечения

Опубликовано:

 

11 май 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 21   
@MichaelDude12345
@MichaelDude12345 Год назад
I had no idea you could have it run boot -> main automatically! I thought I would have to import another file to the boot file to get it to run after the boot. That is so good to know and I can't believe I didn't see it in the official documentation. Maybe I just missed it? Either way thanks for all the great videos!
@zaow
@zaow 8 месяцев назад
THANK YOU YOU SAVED ME
@bullygram
@bullygram 2 года назад
Clearly explained thank you!!
@quarterokay2964
@quarterokay2964 2 года назад
Incredible! Thanks for the help!
@kevinmcaleer28
@kevinmcaleer28 3 года назад
What do you think of this new format of shorter videos?
@JohnHegs007
@JohnHegs007 3 года назад
I really like them Kevin. Packed full of useful info and very slickly presented. Great work.
@kevinmcaleer28
@kevinmcaleer28 3 года назад
@@JohnHegs007 thanks John!
@jacojacobs05
@jacojacobs05 3 года назад
Quick, to the point, information and overall very underrated. You deserve a bigger fanbase, not only of Raspberry Pi robots🤣
@letrainavapeur
@letrainavapeur Год назад
Good format, First time that I have watched one of your videos, not too fast or too slow and thank goodness not hyperactive and wordy like some I could mention.
@kevinmcaleer28
@kevinmcaleer28 Год назад
@@letrainavapeur thanks Peter
@JAYJAYMAN-or5vt
@JAYJAYMAN-or5vt 9 месяцев назад
your actually so helpful thankk you so much
@rifattarkyararbas4058
@rifattarkyararbas4058 Год назад
It is so helpfull, thank you...
@EcoHamletsUK
@EcoHamletsUK 3 года назад
Can boot.py be used to run a menu that gives a choice of running one of multiple programs? This would be really useful for running different setups on the same machine. Maybe a choice between operating a robot by radio control, or in autonomous mode. Or choose between a number of different tasks or functions.
@kevinmcaleer28
@kevinmcaleer28 3 года назад
Absolutely - with a little display and a rotary encoder this would work perfectly
@kevinmcaleer28
@kevinmcaleer28 3 года назад
You can even make such a menu dynamic using os.listdir to get a list of all python files on the device
@EcoHamletsUK
@EcoHamletsUK 3 года назад
I've been wondering that since the day the Pico was launched, and discovered it could store multiple files, but I've never come across any mention of it. I didn't know about boot.py, but knew about main.py. No doubt RU-vid will now suggest loads of videos on the subject, to prove I'm the only one who didn't know!!!!!!
@kevinmcaleer28
@kevinmcaleer28 3 года назад
hey John - guess what my next video is about? Rotary menu display to launch python apps from the Pico! I’ve got the code running as we speak
@EcoHamletsUK
@EcoHamletsUK 3 года назад
@@kevinmcaleer28 Great. I've got lots of uses for it, and it saves me having to work out how to do it!
@0ox3r0xo0
@0ox3r0xo0 3 года назад
so whats better for the raspberry pico for you, micropython or circuitpython?
@kevinmcaleer28
@kevinmcaleer28 3 года назад
I prefer the official MicroPython - Circuitpython requires extra knowledge of adafruit libraries to work.
@naasikhendricks1501
@naasikhendricks1501 2 года назад
main.mpy with pico?
Далее
ПАПА ГАМБУРГЕР
00:13
Просмотров 120 тыс.
OG Buda - Сделай Мне Приятно Щас
02:24
Programming a Raspberry Pi Pico with C or C++
19:47
Просмотров 106 тыс.
Arduino VS CircuitPython Speed Comparison
5:48
Просмотров 38 тыс.
Hacking my garage door with the Raspberry Pi Pico W
11:50