Auto-start scripts on MicroPython

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 21

  • @kevinmcaleer28
    @kevinmcaleer28  3 ปีที่แล้ว +9

    What do you think of this new format of shorter videos?

    • @JohnHegs007
      @JohnHegs007 3 ปีที่แล้ว +4

      I really like them Kevin. Packed full of useful info and very slickly presented. Great work.

    • @kevinmcaleer28
      @kevinmcaleer28  3 ปีที่แล้ว +1

      @@JohnHegs007 thanks John!

    • @swiftinnovationslab
      @swiftinnovationslab 3 ปีที่แล้ว +2

      Quick, to the point, information and overall very underrated. You deserve a bigger fanbase, not only of Raspberry Pi robots🤣

    • @letrainavapeur
      @letrainavapeur 2 ปีที่แล้ว +1

      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  2 ปีที่แล้ว +1

      @@letrainavapeur thanks Peter

  • @MichaelDude12345
    @MichaelDude12345 ปีที่แล้ว +4

    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!

  • @bullygram
    @bullygram 3 ปีที่แล้ว +4

    Clearly explained thank you!!

  • @JAYJAYMAN-or5vt
    @JAYJAYMAN-or5vt ปีที่แล้ว +1

    your actually so helpful thankk you so much

  • @quarterokay2964
    @quarterokay2964 2 ปีที่แล้ว +1

    Incredible! Thanks for the help!

  • @EcoHamletsUK
    @EcoHamletsUK 3 ปีที่แล้ว +4

    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 ปีที่แล้ว +4

      Absolutely - with a little display and a rotary encoder this would work perfectly

    • @kevinmcaleer28
      @kevinmcaleer28  3 ปีที่แล้ว +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 ปีที่แล้ว +2

      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 TH-cam will now suggest loads of videos on the subject, to prove I'm the only one who didn't know!!!!!!

    • @kevinmcaleer28
      @kevinmcaleer28  3 ปีที่แล้ว +2

      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 ปีที่แล้ว +1

      @@kevinmcaleer28 Great. I've got lots of uses for it, and it saves me having to work out how to do it!

  • @zaow
    @zaow ปีที่แล้ว

    THANK YOU YOU SAVED ME

  • @0ox3r0xo0
    @0ox3r0xo0 3 ปีที่แล้ว +1

    so whats better for the raspberry pico for you, micropython or circuitpython?

    • @kevinmcaleer28
      @kevinmcaleer28  3 ปีที่แล้ว +5

      I prefer the official MicroPython - Circuitpython requires extra knowledge of adafruit libraries to work.

  • @naasikhendricks1501
    @naasikhendricks1501 2 ปีที่แล้ว

    main.mpy with pico?

  • @rifattarkyararbas4058
    @rifattarkyararbas4058 2 ปีที่แล้ว

    It is so helpfull, thank you...