Arduino Tutorial 4: Understanding Arduino Variables

593,943
0
Published 2019-06-11
You guys can help me out over at Patreon, and that will keep this high quality content coming:

www.patreon.com/PaulMcWhorter

In this video we learn that you should always use variables when programming instead of constants. This allows you to easily modify complicated programs. We start by writing a program the wrong way, and then show the good way using variables.

You can get the following Elegoo kit, to follow these lessons and play along at home
amzn.to/3c9SJrO

You can get more details about this lesson on our WEB site HERE:
toptechboy.com/arduino-tutorial-4-understanding-ar…

[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. This means if you visit the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers.]
#Arduino

All Comments (21)
  • Used hot coffee. Everything went wrong. Won't be making that mistake again
  • @bottacap1
    Man finding your channel is like finding the holy grail. Just so you guys know, Paul's got Raspberry Pi videos, and all sorts of other topics for later. Thank you sir, schools would be better if all teachers were like you
  • @avishekdey1943
    I absolutely love the fact that he makes mistakes on purpose to show us how to fix them. What a king!
  • @RikMeloen
    Tip: at 16:39 where he is changing all the numbers, you can just do Crtl+F and change everything at once.
  • @gramofonomanek
    His patience and way how he is explaining is great.Plenty teachers lost that gift.You want to listen,old school.
  • @skateguroo7600
    I'm eleven years old and I'm in the academy of S.T.E.A.M I've been needing to learn some new advanced coding and with your channel it makes learning so easy thank you so much keep doing what your doing
  • @WarenaiSai
    I'm a mechanical eng. grad student just getting into Arduino. Thank you for your dedication to making these great videos Mr. McWhorter!
  • @andrewd4906
    Many thanks for making an easy to follow series on the arduino. Managed the homework. Thanks to your explanation the bits of the puzzle are starting to fall into place.
  • @Richardj410
    Got my kit and I'm moving along. Thanks for all your hard work and it is helping me.
  • I must say I am an old fart considering that I am a husband and a father, and I was pleasantly surprised to easily see the transition not just to memorize code, but finally understand why people use variables, and greatly appreciate you purposely giving us a hard time because you know we'd want to learn from it. This is the most pleasant video I have ever followed along with and I can feel myself getting smarter with these videos. I'm not just watching him I'm programming and putting stuff together. Thank you!
  • @Randy2747
    For people starting his course just a bit of advice.... After each lesson I print out the script on paper and write noted down on it. Install in a folder that way I won't forget and if I do I can go back to see what Mr. McWhorter has taught me 😉👍
  • I know how hard is teaching, so I don't criticize my school's teachers. However, every teacher should learn how Paul teaches. You're amazing.
  • @awkward_bomb
    Wow this lecture just like on a fundamental level really was impressive. I have more experience with computer science than I do with micro controllers, and your presentation of basic principles like variable types, self referencing variable names, and the importance of camel case and case sensitivity by actually demonstrating common pitfalls is great for someone who is completely new.
  • @cboyles
    Appreciate these lessons so much and can’t describe the joy it brings me to be able to figure out how to do the homework assignments! The Elegoo “Most Complete Starter Kit Mega 2560 Project” was a 62nd birthday gift last year. Using my university summer break to learn something completely foreign to me. It is amazingly fun to be able to make a light blink! Thank you Paul McWhorter!
  • @GeoGebweiler
    Paul, You are the best ! It makes so much fun to learn all about the Arduino with Your tutorial. Thumbs up !
  • @danthemancasey
    Excellent example of one use for variables! Thank you for another great video!
  • @locutussmith
    Sir as an elderly student (69 years of age) may I wholeheartedly thank you for your clear and precise teaching, many thanks from the UK.
  • Thank you Paul. You are an excellent teacher. I'm so glad that I found you. I've been thinking about ideas using Arduino for years and I finally pulled the trigger. An early Christmas present to myself if you will. I'm hooked. I varied from your lesson with the code you taught and having 3 LEDS flashing random patterns next to me is so satisfying. Thank you.
  • Wow, Paul! Great instruction. I purchased an Arduino over a year ago and now that I came upon your instruction I dug it out and have started following along. Excellent instruction. You are so easy to follow and very well structured, nice and sequential.