Learn MicroPython - Part 1 Controlling the flow

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

Комментарии • 39

  • @phmiii
    @phmiii Год назад

    I am going through your entire "LEARN MICROPYTHON" class. This is my second time through this video.

  • @EarnestWilliamsGeofferic
    @EarnestWilliamsGeofferic 2 года назад +4

    Explaining Computers sent me! (Well, he had your channel open in one of his videos ... ) 🕶

    • @kevinmcaleer28
      @kevinmcaleer28  2 года назад +1

      Awesome! Pleased to meet you! Chris (@ExplainingComputers) was very kind and generous to include my channel in the Chrome OS Flex video! He's also given me some excellent tips to grow this channel even faster too. Hope you like what you find, and let me know if there is anything else you think I should cover!

  • @phmiii
    @phmiii 2 года назад +2

    Great information! I look forward to Part 2.

  • @MrFirephly
    @MrFirephly 2 года назад +5

    I'm a beginner and look forward to the rest of this series as I do all your videos, which have been very helpful so far. At 7:12 in the microphone hello world example you missed a " at the end. I'm getting used to spotting silly things like that in my own code. What gets me is a computer will stop the code working and say "expecting ..." , if the pc knows it should be there then just carry on or put it in. Computers are stupid somethimes😂 edit........Other, turns out you did see it.

  • @michaelmccloy9466
    @michaelmccloy9466 2 месяца назад

    Hi Kevin, I have. Spent the last month trying to find a good source of information on the Pico and how to use it, I even purchased books that were almost useless in explaining the basics of even connecting the Pico for the first time. I should explain that I am 80 year’s old and have had computers since the Apple 2. I have never mastered any language but have a small Knowledge of a few. Your videos are amazing well explained, I can’t believe that they are in my option better than Raspberry Pi itself. 🔓 Well done, I look forward to learning more in the future, Thanks.

  • @shannonjohnson8842
    @shannonjohnson8842 Год назад

    I'm using Micropython to control Lego trains. As a beginner these tutorials are so useful!

  • @JohnJones-oy3md
    @JohnJones-oy3md 2 года назад +6

    Me yesterday: I don't think I want to learn yet another programming language. Me today: OK, maybe just one more. ;)

  • @christopherlyons7613
    @christopherlyons7613 4 месяца назад +1

    Thanks for these videos. Looks like you've done 3 parts in the learning Micro Python series. Have you considered doing more? These really cover the absolute basics and it would be really great to see s few more videos that jump into more intermediate & advanced topics. Things like interrupt handling (and +/-s vs polling), more sophisticated looping options, greater peeks into available libraries and when best to use them, differences and comparison between Micro Python and CircuitPyhon, etc.. Lots of different options for digging deeper that I think could help lots of makers. Hope you'll consider expanding this video line. Thanks.

    • @kevinmcaleer28
      @kevinmcaleer28  4 месяца назад

      Let me add that to the video ideas list. Sounds like a great topic to cover

    • @christopherlyons7613
      @christopherlyons7613 4 месяца назад

      ​@@kevinmcaleer28Well it certainly seems like your original idea was to make this a longer running series. You state at several spots in the first 3 videos that you'll be covering more on topics discussed "later" but never mention the topics again. There's definitely a need for better coverage of intermediate & advanced MicroPython (and CircuitPython) topics. Think that would help you draw in more viewers.

  • @AndersJackson
    @AndersJackson 2 года назад +2

    I think that Thonny is installed on Raspberry Pi by default.
    Python strength is that is fast and easy to code and test, because of the REPL. The weakness is that there are no phase where they type of variables is checked, so it will show up when you run the code, not when you load the code. Yes, that is a major drawback for finding common programming errors.
    The best Editor is Emacs, which is marvelous. And it can be run from any main OS.

  • @lephtovermeet
    @lephtovermeet Год назад +1

    You're amazing. Thank you so much for this.

  • @PapaKn
    @PapaKn 2 года назад +4

    I think you will find that anything retrieved by input is of type String. Thus, "age" is always a string in your example.

  • @jps99
    @jps99 Год назад

    That was pretty painless, I think I'll subscribe and follow the other tutorials!

  • @MrBobWareham
    @MrBobWareham 2 года назад +1

    Thanks, I have joined as I would like to learn, the video was very good

  • @laurentstrodiot8434
    @laurentstrodiot8434 Год назад +2

    Very nice video Kevin ! thanks for sharing your knowledge on micropython. I think this is a very useful language and very fun for making coded objects like led matrix or robots like you do ! Thanks.

  • @Book_worm_1999
    @Book_worm_1999 2 года назад +1

    Waiting for your next video

  • @iKostanCom
    @iKostanCom Год назад

    Nice and simple tutorial, thanks.

  • @doochies
    @doochies 2 месяца назад

    Hi went through the part 1 all went well ,excepting - const not defined error message -in the PI example, i am using Rasbery picoH

  • @Rich-can-do
    @Rich-can-do 18 дней назад

    I have a esp32 vroom I think its called and I use thonny. To install it was easy, as I just used thonny and it asks you a few questions on what board you have and version and after than it installs micropython, and I didn't need to press any buttons.

  • @anDromedaIOT
    @anDromedaIOT Год назад

    @kevin, big fan and really excited about this series, i'm a dev and love the Pico and learning cool code tricks is just what i want. I hope you will cover BLDC motors at some stage as i have a hard time getting them to spark up on my Pi4's but havent tried using the Pico which has better timing i believe.
    Thanks for all your effort, much appreciated.

  • @amilaanuradha8409
    @amilaanuradha8409 Год назад +1

    Thank you

  • @anthonyholmes1312
    @anthonyholmes1312 2 года назад +1

    I love the idea. But I’ve done many beginner python courses. I would love to take it to the next level especially focused on making. Like coding displays, breakouts, etc.

    • @kevinmcaleer28
      @kevinmcaleer28  2 года назад +1

      Yes - we'll definitely get to that, I realised that I'm a bit all over the place (beginner, expert, intermediate), so I thought it was time to start from the beginning so I can at least point people to that when we're covering more advanced topics. I've documented this course over at beta.kevsrobots.com/beta - its in Beta testing at the moment, but feel free to feedback too.

    • @vasudev16180
      @vasudev16180 Год назад

      Hi @@kevinmcaleer28 , This link is not working :( Could you please fix it?

    • @kevinmcaleer28
      @kevinmcaleer28  Год назад

      @@vasudev16180 sure - can you paste the link that’s not working so I can troubleshoot it?

  • @baygidhasan
    @baygidhasan Год назад +1

    Great❤❤

  • @victormiranda9163
    @victormiranda9163 Год назад +1

    Am new to micro python. I programmed a pdp-11...
    I can't decide about your pace of presentation
    I'll watch a few more then decide

    • @kevinmcaleer28
      @kevinmcaleer28  Год назад +1

      Hey Victor - let me know any feedback you have; too fast, too slow, too much detail, not enough detail etc

    • @victormiranda9163
      @victormiranda9163 Год назад

      ​@@kevinmcaleer28
      good order. good pace.
      The three include details I want.
      Your examples have answered some questions I had
      about creating what I think as calls to subroutines
      both the call and the routine..
      I found your vid about PHEW before the python guides.
      now I need to practice.

  • @richards7909
    @richards7909 2 года назад +1

    Apart from being the correct way, is there any benefit to specifying a variable as a constant?

    • @kevinmcaleer28
      @kevinmcaleer28  2 года назад +1

      Yes - it is assigned more efficiently in memory by Micropython so it’s better to store it as a constant than a variable

  • @mrsbrent1015
    @mrsbrent1015 2 года назад +1

    Enjoy Cambridge ❤

  • @itsUser-n2m
    @itsUser-n2m 2 месяца назад

    Q. can you do lua

  • @steam1977-u1g
    @steam1977-u1g Год назад

    im getting a const not defined and also a PI not not defined?
    I have typed everything exactly the same

    • @kevinmcaleer28
      @kevinmcaleer28  Год назад

      Which microcontroller and version of micropython are you using?

    • @steam1977-u1g
      @steam1977-u1g Год назад

      I have this sorted now but thanks for your reply
      @@kevinmcaleer28