Arduino Uno R4 WiFi LESSON 8: Using Variables in Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 มี.ค. 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
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @golanoski1
    @golanoski1 หลายเดือนก่อน +4

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

  • @dylanhernandez4753
    @dylanhernandez4753 2 หลายเดือนก่อน +1

    Thank you, professor, for continue making more videos!

  • @scottwait8883
    @scottwait8883 2 หลายเดือนก่อน +1

    Thank you Paul, the lessons are awesome!

  • @ominence5573
    @ominence5573 2 หลายเดือนก่อน

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

  • @robertschuldenfrei2402
    @robertschuldenfrei2402 2 หลายเดือนก่อน +1

    I had some issues with TH-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."

  • @jeraldgooch6438
    @jeraldgooch6438 2 หลายเดือนก่อน

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

  • @alfredcalleja450
    @alfredcalleja450 หลายเดือนก่อน

    Thanks Paul, another great tutorial.

    • @paulmcwhorter
      @paulmcwhorter  หลายเดือนก่อน

      Glad you enjoyed it

  • @kenrandolph6816
    @kenrandolph6816 2 หลายเดือนก่อน

    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 2 หลายเดือนก่อน

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

  • @donaldhoudek2889
    @donaldhoudek2889 2 หลายเดือนก่อน

    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!

  • @patrickfox-roberts7528
    @patrickfox-roberts7528 2 หลายเดือนก่อน

    Thanx Paul

  • @charlotteswift
    @charlotteswift 2 หลายเดือนก่อน

    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😁)

  • @berinslaptop
    @berinslaptop 2 หลายเดือนก่อน

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

  • @DONCRAGUN
    @DONCRAGUN 2 หลายเดือนก่อน

    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.

  • @robertschuldenfrei2402
    @robertschuldenfrei2402 2 หลายเดือนก่อน

    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.

  • @johanverheyden8828
    @johanverheyden8828 2 หลายเดือนก่อน

    Hello from Belgium

  • @anordinarychannel9975
    @anordinarychannel9975 4 หลายเดือนก่อน

    Cool

  • @MMK-PALESTINA
    @MMK-PALESTINA 4 หลายเดือนก่อน

    Iam waiting

  • @larryb6759
    @larryb6759 2 หลายเดือนก่อน

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

  • @deniszawad
    @deniszawad 2 หลายเดือนก่อน

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

  • @forwardtastic8260
    @forwardtastic8260 2 หลายเดือนก่อน

    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!!!!

  • @drthik1
    @drthik1 2 หลายเดือนก่อน

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

    • @paulmcwhorter
      @paulmcwhorter  2 หลายเดือนก่อน

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

    • @drthik1
      @drthik1 2 หลายเดือนก่อน

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

  • @jeff_wild
    @jeff_wild หลายเดือนก่อน

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

  • @uniqueupdaterff2234
    @uniqueupdaterff2234 2 หลายเดือนก่อน

    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 ❤

  • @scroopynooperz9051
    @scroopynooperz9051 2 หลายเดือนก่อน

    Yo Paul! How are thingz

  • @jameslewellen150
    @jameslewellen150 2 หลายเดือนก่อน

    Here is the homework for lesson 8. Link: th-cam.com/video/1_PPoMhPDYQ/w-d-xo.html

  • @williamallsop1890
    @williamallsop1890 20 วันที่ผ่านมา

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

  • @ryderjds
    @ryderjds 2 หลายเดือนก่อน

    Homework Complete -
    th-cam.com/video/NZQ1IH9d1o0/w-d-xo.html

  • @eefoops2u
    @eefoops2u 2 หลายเดือนก่อน

    Care needs to be taken with current limiting resistors on leds. Ref: th-cam.com/video/L9L3_RP1NWY/w-d-xo.html

    • @charlotteswift
      @charlotteswift 2 หลายเดือนก่อน

      @eefoops2u
      Paul did a supplemental video on this.

  • @Tron_Starfighter
    @Tron_Starfighter 15 วันที่ผ่านมา

    Another Legend Lesson
    th-cam.com/video/jUrbEPrYLNk/w-d-xo.html

  • @robertschuldenfrei2402
    @robertschuldenfrei2402 2 หลายเดือนก่อน

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

  • @alistaircook1997
    @alistaircook1997 2 หลายเดือนก่อน

    great lesson again Paul, here is my lesson 8 homework :- th-cam.com/video/esY_4qL8LbE/w-d-xo.html. It includes homework video plus anther using Millis.

  • @hftfire
    @hftfire 2 หลายเดือนก่อน

    Homework assignment - th-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  2 หลายเดือนก่อน

      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 2 หลายเดือนก่อน

      @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 TH-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).

  • @drdentin3215
    @drdentin3215 2 หลายเดือนก่อน

    My HW8 Variables th-cam.com/video/u6L-zRasRAw/w-d-xo.html

  • @richardsstark9825
    @richardsstark9825 2 หลายเดือนก่อน

    My homework solution th-cam.com/video/_TBs26F1BTg/w-d-xo.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".

  • @larryb6759
    @larryb6759 2 หลายเดือนก่อน +1

    Homework Link th-cam.com/video/B2li7KsBmmk/w-d-xo.htmlsi=U-UVkM_nL8HJW_dG