Arduino Tutorial 16: Fun With Arduino For Loops

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

In this video lesson we look more at the Arduino For Loop. We will give you examples that allow you to better understand the three parameters used in the for loop.

You can get the following Elegoo kit, to follow these lessons and play along at home

You can also follow these lessons on our WEB site:

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

Retired engineer. Really enjoy your enthusiasm and frequent deliberate coding errors. Keeps your students alert.

gdpower
Автор

This tutorials series is absolutely invaluable. Looking forward to finishing this series and then starting with the next one. This is what all education should look like!

mikael
Автор

I always pause the video when you say, "I want you to..." or "What if we wanted x to do y?" and try to do it myself first before proceeding. I think it's helpful to have practice finding my own mistakes. Plus, when you "make a mistake" (quotations because I'm sure most are on purpose to keep us on our toes!) I don't end up copying it into my own code. I'm glad you have a lot of videos here because I plan to watch every single one and do all the exercises so I get lots of practice. Your videos give me hope that soon I'll be able to manipulate LEDs in my work as easily as the wire I weave with. This series is truly an invaluable resource!

HeatherJordanJewelry
Автор

I am 69 retired Draughtsman from South Africa. I was given an Arduino Kit for Xmas and I am having fun learning about coding, keeps the old brain active. Thank you sir.

davedickie
Автор

I was able to figure out the different counts on my own. These pop quizzes are helping with my coding confidence.

lewisnash
Автор

I figured it out right off the bat, but I still ran out of the room crying like a little child... they were tears of joy!

JungleCruiseSkipper
Автор

This toturial is AMAZING. Its very effective, special the "BOOOM".

TtheMN
Автор

One of the things I appreciate the most is having these videos to where I can pause or re-run. At 82 years old, trying to learn something totally new takes a lot more time then I'd have were I in a classroom. I can go over and over the material until I think I really understand it all. Great job Paul. Loving the clarity of your presentations. See, even at 82 one can still learn in the right environment.

jackmccarty
Автор

Figured out the countdown in about 20 seconds, before you asked. Wish I had you as a teacher when I was in highschool

professor-wright
Автор

I am a 61 year old carpenter starting arduino as a retirement hobby. I want to thank you for your tutorials you do a great job explaining them. The only computer skills I had was using my smart phone and I am still able to figure it out. Keep up the good work.

Jim M

jimmitoraj
Автор

11:36 This is what I was always expecting when you hitting the table like that and It happened😂.Thanks for your another interesting lesson sir.

Kasun_Ish
Автор

11:21 I use an if statement in it and make it return then it reaches j = 1

int j;
int delayTime = 500 ;

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}

void loop() {
// put your main code here, to run repeatedly:
for (j = 10;j <= 10; j = j - 1) {
Serial.println(j);
delay(delayTime);

if (j == 1){
return;
}
}
Serial.println(" ");
}

ZeroQ
Автор

Figured it out without having to pause! Trying to catch up Paul!

MSMEHYDRO
Автор

Dropped out of engineering after my freshman year, spent the next 42 years working Avionics on military and commercial aircraft. I'm now back to engineering classes as an old guy and loving it! Love your teaching style!

TheSparrow
Автор

when programming now I catch myself saying "NO NO don't use a constant set a variable"

charlietrain
Автор

I really enjoy your videos and the small conversations you hold throughout. I was able to get the numbers to count backwards without folding like a card table.

kirstinlee
Автор

Here's some tips for the peeps when it comes to 'incrementation' in C++:

instead of writing j = j + 1, you can write j += 1, OR j++

All of those commands do the same thing, increment your integer by ONE. Note that if you want to increment by more than one, you can no longer use the ++ command, that's only reserved for incrementing by factor of one. If you want to increment by 2, you can use j += 2 etc.

Same goes for negatives: j = j - 1 is the same as j -= 1 and the same as j-- (two minus symbols)... If you want to increment by negative two, you can write j -=2 etc.

zennihilator
Автор

I was able to figure it out!
You are not talking to an empty room, you are a great instructor and I appreciate your lessons.

danigirl
Автор

absolutely love the consistency of this series

BrickBrick
Автор

I figured out how to count backwards on my own. I really appreciate your videos and how you teach. I'm older (mid-40's) and going back to school for engineering. Your videos are required for our Systems Engineering class and your videos are easy to follow and very informative!

DougBatchko-oiot