Arduino Tutorial 4: Understanding Arduino Variables

preview_player
Показать описание
You guys can help me out over at Patreon, and that will keep this high quality content coming:

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

You can get more details about this lesson on our WEB site HERE:

#Arduino
Рекомендации по теме
Комментарии
Автор

Used hot coffee. Everything went wrong. Won't be making that mistake again

graemefraser
Автор

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

bottacap
Автор

I absolutely love the fact that he makes mistakes on purpose to show us how to fix them. What a king!

avishekdey
Автор

His patience and way how he is explaining is great.Plenty teachers lost that gift.You want to listen, old school.

gramofonomanek
Автор

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

skateguroo
Автор

Tip: at 16:39 where he is changing all the numbers, you can just do Crtl+F and change everything at once.

RikMeloen
Автор

Outstanding series. Ordered my Arduino starter kit. Will be here tomorrow.

A couple of constructive criticisms.

1. SOS was informally initially recognized as meaning "Save Our Ship". As it became more wildly used as a universal distress signal on land, sea, and air it was reinterpreted as "Save Our Souls". An extension of this idea is when aircraft pilots file a flight plan with the FAA, one of the items in the flight plan is the "Number of Souls on Board.""

As a HAM, or licensed Amateur Radio Operator, I want to offer the correct timing spacing in Morse code for dots, dashes, and spacing.

1. The length of a dot is one time unit.

2. The length of a dash is three time units.

3. The length between symbols (dots and dashes) of the same letter is 1 time unit.

4. The length between letters is 3 time units.

5. The length between words is 7 time units.

The length of the time unit varies with the speed of transmission. The time unit for a transmission speed of 5 words per minute is 4 times the length of the time unit for a transmission speed of 20 words a minute.

billlaird
Автор

I'm a mechanical eng. grad student just getting into Arduino. Thank you for your dedication to making these great videos Mr. McWhorter!

WarenaiSai
Автор

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 😉👍

Randy
Автор

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.

locutussmith
Автор

After 30 years as an electrical technician I have a solid understanding of the components but your tutorials are still interesting and enjoyable to watch. I’m new to the Arduino platform but not entirely new to programming even though I have never worked in C++. So for me your videos are an extremely good way to absorb these new skills at my own pace. In fact what ever level someone is at you allow them to go at their own pace.
Good work! Keep it up. And thank you.

Ewecnt
Автор

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!

evolutionsfake
Автор

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.

senrinakamura
Автор

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!

cboyles
Автор

this is the best Arduino tutorial series in the world

MR Paul, your are an AMAZING! person

Omar_Cubing
Автор

I’ve seen other channels go through Arduino basics and yours is the best by far! Having a lot of fun learning this.

lucast
Автор

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.

awkward_bomb
Автор

I'm a former teacher and I just have to tell you man that I love your style brother! Great Job! You assume the student knows nothing and that they should learn EVERYTHING!

tothydroponics
Автор

You are the man! Just started tonight and this is awesome! Thanks for the great videos! Somebody might have said this before, but to help out with the spacing of flashes in Morse there are a few rules. Dits are 1 unit. Dahs are 3 units. The "off time" or space between dits and dahs is 1 unit. The space between letters/characters is 3 units. The space between words is 7 units. For a repeated code of S.O.S you would just pick a unit of time and use the Morse Code rules. Make sure to make the last "Low" delay 7 units of whatever time you are using to make the space between repeated words of S.O.S. I put my "int"s below for R, W, and B LEDs as well as the time intervals for dits, dahs, and spaces as an example. Hope this helps!
int R=13;
int W=12;
int B=8;
int dit=250;
int dah=750;
int spacedd=250;
int spacechar=750;
int spaceword=1750;

spencerg
Автор

Excellent example of one use for variables! Thank you for another great video!

danthemancasey
join shbcf.ru