Raspberry Pi Pico W LESSON 73: Control a RGB LED Using a Dictionary in MicroPython

Поділитися
Вставка
  • Опубліковано 5 жов 2024
  • You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:
    / paulmcwhorter
    In this class we will be using the Sunfounder Raspberry Pi Pico W Keppler Kit. It will make things a lot easier if we are working on identical hardware. the link below is to amazon, and is for the identical hardware I will be using in this entire class.
    amzn.to/3ubMRs1
    In this video, I will show you how to use dictionaries. Dictionaries are useful data structures, particularly useful in Object Oriented Programming. I will give practical examples of creating and interacting with dictionaries. In this lesson we will control an RGB LED by storing color data in a dictionary.
    More great content at:
    toptechboy.com
    [Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. ]
    #raspberrypipicow
    #micropython
    #dictionary
  • Наука та технологія

КОМЕНТАРІ • 18

  • @larryplatzek9017
    @larryplatzek9017 3 місяці тому +1

    These lesson are great, part review and part new! Thank you Paul!

  • @marvetoons1625
    @marvetoons1625 3 місяці тому

    Paul I'm really loving your tutorials
    I started from your Arduino
    And with this Raspberry tutorial I can confidently say you are the best teacher when it comes to microcontrollers
    Please do me a favor and also do a tutorial on ESP32 if you can
    Thank you and God bless you

  • @charlotteswift
    @charlotteswift 3 місяці тому +4

    I used a dictionary for the homework for lesson 12 over a year ago. It does what Paul wanted for lesson 72 except it doesn't print the red, green and blue values.
    I'm testing another way to leave a link. Fingers crossed🤞: ua-cam.com/video/QxigMhW2HBE/v-deo.htmlsi=r1JL_TWP1U8WuW0k

  • @edSabio572
    @edSabio572 3 місяці тому

    Thanks Paul! Working on Homework...(Looked easy while in class ; ) )

  • @mohammedsadiq2045
    @mohammedsadiq2045 3 місяці тому

    Really amazing videos mr. Paul
    And could you please continue on raspberry pi zero.
    Thanks alot

  • @scottwait3585
    @scottwait3585 3 місяці тому

    Thanks Paul

  • @pralaymajumdar1206
    @pralaymajumdar1206 3 місяці тому

    Outstading lesson sir❤

  • @jameslewellen150
    @jameslewellen150 3 місяці тому

    Just in case the first comment gets deleted I have my homework video uploaded to my UA-cam page. Thanks for doing these videos.

  • @codingWorld709
    @codingWorld709 3 місяці тому

    Sometimes I do watch his videos to explore IoT..❤

  • @louistoweill4232
    @louistoweill4232 3 місяці тому

    Thanks!

    • @paulmcwhorter
      @paulmcwhorter  3 місяці тому

      Thanks, I really appreciate the support, it means a lot!

  • @jyvben1520
    @jyvben1520 3 місяці тому +1

    in makeColor add as first line
    print( globals(), "
    ========
    ", locals() ) # micropython can use all globals of any type inside the function
    except for _thread function, there global ... matters, and in python3 global matters

  • @charlotteswift
    @charlotteswift 3 місяці тому +1

    Here's my video for lesson 73: ua-cam.com/video/B1SkQ-q2u20/v-deo.htmlsi=y8Z3VEXtsGxrZXZ1 I've written my own class for controlling an RGB LED.

  • @abba2938
    @abba2938 3 місяці тому

    A really good tutorial. Thanks! I'll look at a few more. Greetings from Northern Germany.
    And so that this doesn't happen again, here are a few more t t t t t t t. *smile*

  • @marvetoons1625
    @marvetoons1625 3 місяці тому

    Paul I'm really loving your tutorials
    I started from your Arduino
    And with this Raspberry tutorial I can confidently say you are the best teacher when it comes to microcontrollers
    Please do me a favor and also do a tutorial on ESP32 if you can
    Thank you and God bless you