My video for Paul McWhorter's Arduino Uno R4 Lesson 19Arduino R4 Lesson 19

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • Flash an RGB LED red, green, blue, wait 1 second. Do this 25 times and stop.
    Return to Paul's lesson 19: • Arduino Uno R4 WiFi LE...

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

  • @lorisrobots
    @lorisrobots 3 месяца назад

    Good way to handle the HW as it was given! Thanks for posting.

  • @leeg.1402
    @leeg.1402 4 месяца назад

    Thanks for posting!

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

      @leeg.1402 As always, thanks for watching, Lee

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

    Very nice 🙂👌
    This is exactly how I would have done this too 👍
    I shall hand it in lesson 19 comments k? ✌️🙂
    Incidentally do you know of any other loops in the Arduino language? 🤔

    • @charlotteswift
      @charlotteswift  4 месяца назад +2

      @bigbogeyface Thank you, Mr Burger.👍🤠🤠
      The standard set up is using void setup and void loop but you don't actually have to use them. I think it's the Arduino environment or whatever that sets them up within main so it actually looks like
      void main(){
      setup();
      while(true){
      loop();
      }
      }
      Some people might actually specify main themselves and not bother with setup and loop. No idea what benefits this might have.
      Or were you talking about for loops, while loops and do ... while loops?
      I'm more of a python person myself. Arduino/C is a bit too unforgiving. btw I've found a way to program an Arduino in python (not micropython). It saves having to upload sketches the whole time. You just have a program running on the Arduino that allows a python program to communicate with it. You can even do things on the Arduino via the shell. I sense another video coming.😁