Arduino Uno R4 WiFi LESSON 8: Using Variables in Arduino

Поділитися
Вставка
  • Опубліковано 5 жов 2024
  • Pick your Sunfounder kit up so you get the same results I do:
    amzn.to/3SciApZ
    You can pick up the neat jumper wires I showed in the video here:
    amzn.to/3U2vyIe
    You can pick up the diagonal cutters I show in my video here:
    amzn.to/48xeaj7
    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 video I introduce you to the concept of using variables in your arduino programs. I show the variable types of int, float, char, and String. I show you how good engineering practice is to always use variables in your programs instead of constants. I will then give a homework assignment to see if you have grasped the concepts. Enjoy!
    [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. ]
    #arduinor4wifi
    #variables
    #tutorial

КОМЕНТАРІ • 73

  • @golanoski1
    @golanoski1 6 місяців тому +6

    Still watching your arduino tutorial series from 4 years ago. Happy to see youre still teaching!

  • @jeraldgooch6438
    @jeraldgooch6438 6 місяців тому +1

    Good, patient instruction. I bet your kids loved you back in Texas!

  • @donaldhoudek2889
    @donaldhoudek2889 6 місяців тому +1

    Hey Paul, I sometimes use the edit option of "Replace in file" when I have a bunch of things to change in a file. Works good, but better to just use the variable from the start. It does come handy for other changes also. GREAT Video!

  • @dylanhernandez4753
    @dylanhernandez4753 6 місяців тому +2

    Thank you, professor, for continue making more videos!

  • @kenrandolph6816
    @kenrandolph6816 6 місяців тому

    Finally wrote a function to do all the blinking (should have done it after the first blink). Here's the protoype: void blink(int numPin, int numblinks, int ontime, int offtime)

  • @robertbock5898
    @robertbock5898 6 місяців тому

    Hi Paul, Good video. In my C++ and Python programming class, we call your variable naming convention camelback.

  • @ominence5573
    @ominence5573 6 місяців тому

    Great video once again! Always waiting patiently for your videos! Thanks Paul

  • @masman1st
    @masman1st 4 дні тому

    I started your tutorials with Pico W using Thonny IDE. Arduino IDE is interesting, BUT the only way to stop running a sketch that I have figured out is to run BareMinimum. Sure miss the STOP function of Thonny. Maybe you commented on this and I missed it. I do enjoy learning with your tutorials. Thanks!

  • @scottwait3585
    @scottwait3585 6 місяців тому +1

    Thank you Paul, the lessons are awesome!

  • @charlotteswift
    @charlotteswift 6 місяців тому

    Thanks for this excellent lesson for beginners, Paul.
    No homework from me this time but I'll make more of an effort next week. (I'm beginning to sound like Brian😁)

  • @larryb6759
    @larryb6759 6 місяців тому

    Sorry about missing the class this morning. i had a Doctor's appointment. Happy PI Day!

  • @robertschuldenfrei2402
    @robertschuldenfrei2402 6 місяців тому +1

    I had some issues with UA-cam. It refused to make a normal video and made a short. It is either shorter than 60 seconds or has a vertical aspect ratio. Here is what I did. Take the URL in your comment and replace the word "shorts" with "watch."

  • @robertschuldenfrei2402
    @robertschuldenfrei2402 6 місяців тому

    We are on Daylight Savings Time, so I will not be able to see this live any more as I have a standing appointment at this time. Pick it up this afternoon.

  • @alfredcalleja450
    @alfredcalleja450 6 місяців тому

    Thanks Paul, another great tutorial.

  • @jeff_wild
    @jeff_wild 5 місяців тому

    My solution to lesson 8: ua-cam.com/video/0opcxGW_Sps/v-deo.html. I know the videos is bad, I'm looking for better (and cheap/free) video editing tools.

  • @DONCRAGUN
    @DONCRAGUN 6 місяців тому

    Note that redLed and red_led are valid variable names. But, the hyphen is an operator in C and C++ and cannot be used in a variable name.

  • @johanverheyden8828
    @johanverheyden8828 6 місяців тому

    Hello from Belgium

  • @berinslaptop
    @berinslaptop 6 місяців тому

    It would be cool to see the arguino R4 ether version with GRBL

  • @forwardtastic8260
    @forwardtastic8260 6 місяців тому

    Thank you so much sir for making tutorial about arduino can you please do more? Anyway i have a question about arduino chip sir, How to clear all the registry code in chip ? Do arduino chip has a limited storage for codes that we write? What if i upload an empty code well it help to restore the old state of the chip?. Thanks!!!!

  • @uniqueupdaterff2234
    @uniqueupdaterff2234 6 місяців тому

    Hello, Sir Paul This is Unique from India idk if u do remember me I was the one eager to join your live but couldn't due to exams and I have been unable to get a r4 wifi kit shipped to India I have a Request to make can u request the sunflower kit company to also make the delivery available for kits in India too It is tremendously hard to find kits shipped here in India Please I humbly request You Sir to Recommend it to Them. Thank You love from India ❤

  • @patrickfox-roberts7528
    @patrickfox-roberts7528 6 місяців тому

    Thanx Paul

  • @deniszawad
    @deniszawad 6 місяців тому

    . . . _ _ _ . . . Thank you Paul.

  • @drthik1
    @drthik1 6 місяців тому

    Do you have an alternate way to donate like PayPal? Tried going the patreon route and got booted out.

    • @paulmcwhorter
      @paulmcwhorter  6 місяців тому

      Paypal is:
      paul.mcwhorter@gmail.com
      Thanks!
      Paul

    • @drthik1
      @drthik1 6 місяців тому

      @@paulmcwhorter just sent some , lmk if it comes through

  • @chrisallen2894
    @chrisallen2894 2 місяці тому

    🤯

  • @MMK-PALESTINA
    @MMK-PALESTINA 8 місяців тому

    Iam waiting

  • @scroopynooperz9051
    @scroopynooperz9051 6 місяців тому

    Yo Paul! How are thingz

  • @williamallsop1890
    @williamallsop1890 5 місяців тому

    I had to slow the blinks. I’m a slow ham…..

  • @anordinarychannel9975
    @anordinarychannel9975 8 місяців тому

    Cool

  • @jameslewellen150
    @jameslewellen150 6 місяців тому

    Here is the homework for lesson 8. Link: ua-cam.com/video/1_PPoMhPDYQ/v-deo.html

  • @hftfire
    @hftfire 6 місяців тому

    Homework assignment - ua-cam.com/users/shortsI_OKt6JURNE Awesome straightforward training! I recommend this instruction to ALL! Paul, I need to know if you received this as my comments are never allowed to be publicly viewed... not sure if you can either. Please confirm by replying directly to this comment only. Thanks

    • @paulmcwhorter
      @paulmcwhorter  6 місяців тому

      I moderate all comments before they are posted to keep the comments family friendly, and polite. I review comments once a day, so might take one day for comments to appear. Hey, also please try to post your homeworks as normal youtube videos instead of shorts, as shorts are much harder to review, and dont allow comments.

    • @charlotteswift
      @charlotteswift 6 місяців тому

      @hftfire You video gave me a crick in the neck😺I think Lori said that if you film something using your phone sideways then it will appear the right way up on UA-cam and not as a short. I use a webcam which makes it much easier (especially as my phone does nothing except make phone calls and play snake).

  • @alistaircook1997
    @alistaircook1997 6 місяців тому

    great lesson again Paul, here is my lesson 8 homework :- ua-cam.com/video/esY_4qL8LbE/v-deo.html. It includes homework video plus anther using Millis.

  • @eefoops2u
    @eefoops2u 6 місяців тому

    Care needs to be taken with current limiting resistors on leds. Ref: ua-cam.com/video/L9L3_RP1NWY/v-deo.html

    • @charlotteswift
      @charlotteswift 6 місяців тому

      @eefoops2u
      Paul did a supplemental video on this.

  • @ryderjds
    @ryderjds 6 місяців тому

    Homework Complete -
    ua-cam.com/video/NZQ1IH9d1o0/v-deo.html

  • @Tron_Starfighter
    @Tron_Starfighter 5 місяців тому

    Another Legend Lesson
    ua-cam.com/video/jUrbEPrYLNk/v-deo.html

  • @robertschuldenfrei2402
    @robertschuldenfrei2402 6 місяців тому

    Homework for lesson 08: youtube.com/watch/CqvoN_T_3kQ

  • @richardsstark9825
    @richardsstark9825 6 місяців тому

    My homework solution ua-cam.com/video/_TBs26F1BTg/v-deo.htmlsi=Pqs0PhPtclUHoT5W In keeping with the theme of not having constants in the void loop, it took me a while to figure out how to eliminate using "0' in the "for loops".

  • @SaiyanJin85
    @SaiyanJin85 Місяць тому

    Homework: youtube.com/watch/AHuWy6pl-yc?feature=share

  • @drdentin3215
    @drdentin3215 6 місяців тому

    My HW8 Variables ua-cam.com/video/u6L-zRasRAw/v-deo.html

  • @larryb6759
    @larryb6759 6 місяців тому +1

    Homework Link ua-cam.com/video/B2li7KsBmmk/v-deo.htmlsi=U-UVkM_nL8HJW_dG