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
Still watching your arduino tutorial series from 4 years ago. Happy to see youre still teaching!
Good, patient instruction. I bet your kids loved you back in Texas!
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!
Thank you, professor, for continue making more videos!
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)
Hi Paul, Good video. In my C++ and Python programming class, we call your variable naming convention camelback.
Great video once again! Always waiting patiently for your videos! Thanks Paul
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!
Thank you Paul, the lessons are awesome!
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😁)
Sorry about missing the class this morning. i had a Doctor's appointment. Happy PI Day!
Oh no!
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."
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.
Thanks Paul, another great tutorial.
Glad you enjoyed it
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.
LEGEND!
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.
Hello from Belgium
It would be cool to see the arguino R4 ether version with GRBL
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!!!!
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 ❤
Thanx Paul
. . . _ _ _ . . . Thank you Paul.
Do you have an alternate way to donate like PayPal? Tried going the patreon route and got booted out.
Paypal is:
paul.mcwhorter@gmail.com
Thanks!
Paul
@@paulmcwhorter just sent some , lmk if it comes through
🤯
Iam waiting
Yo Paul! How are thingz
I had to slow the blinks. I’m a slow ham…..
Cool
Here is the homework for lesson 8. Link: ua-cam.com/video/1_PPoMhPDYQ/v-deo.html
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
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.
@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).
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.
LEGEND!
Care needs to be taken with current limiting resistors on leds. Ref: ua-cam.com/video/L9L3_RP1NWY/v-deo.html
@eefoops2u
Paul did a supplemental video on this.
Homework Complete -
ua-cam.com/video/NZQ1IH9d1o0/v-deo.html
LEGEND!
Another Legend Lesson
ua-cam.com/video/jUrbEPrYLNk/v-deo.html
Homework for lesson 08: youtube.com/watch/CqvoN_T_3kQ
LEGEND!
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".
LEGEND!
Homework: youtube.com/watch/AHuWy6pl-yc?feature=share
LEGEND!
@@paulmcwhorter Thank you sir
My HW8 Variables ua-cam.com/video/u6L-zRasRAw/v-deo.html
LEGEND!
Homework Link ua-cam.com/video/B2li7KsBmmk/v-deo.htmlsi=U-UVkM_nL8HJW_dG
LEGEND!