Arduino Uno R4 WiFi LESSON 21: Understanding While Loops

preview_player
Показать описание
Pick your Sunfounder kit up so you get the same results I do:

You can pick up the neat jumper wires I showed in the video here:

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:

In this video I show you how to create while loops in arduino. These allow you to execute a section of code exactly the number of times you want. Enjoy!

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

Thanks for all the lessons. 38 year old and enjoying this like I'm a kid

Gustavwessels
Автор

Thanks, you answered my question regarding the advantage/disadvantage of "for" vs "while" loops. And, thanks for the break in homework assignments. I guess the school year is ending and summer session about to begin.

richardsstark
Автор

I love your concept of teaching this content. Cause you incorporate real world thinking concepts. This makes us think harder about what could actually happen. Always love watching and learning from you Sir!

Rasspor
Автор

Good call regarding checking one's code. I did not include "i=1" to reset the counter.

chuckpar
Автор

this is a good lesson for while loops and testing program. Thank you PAUL!

larryplatzek
Автор

I really enjoy these lessons. Also, lots of program comments will be very helpful in down the road troubleshooting.

qzorn
Автор

I successfully did the homework assignment from lesson 20. Since there is no homework here and I have my daughter, son in law and, and granddaughter here next week I will view lesson 22 on Wednesday afternoon Jun 26, 2024. So long for now.

robertschuldenfrei
Автор

I started out by turning all the pins off in the setup loop, then just turned them on and off one at a time. Much less coding that way.

pathvalleyrailroad
Автор

You started this session saying that the homework you assigned in lesson 20 was to use a while loop to do the blinking. But lesson 20 didn't say anything about while loops. The assignment was to do the blinking without using a for loop. There are lots of ways to do this without using a for loop that don't use while loops either.

DONCRAGUN
Автор

I never thought I'd say this but what's the homework for next week?
Love from Italy❤

edc
Автор

still out of stock, greetings from Hans in Germany !

hansronstadt
Автор

Why does some of the setup code go in the setup section while variable declarations go above and outside?

mamulcahy
Автор

Hi paul, thanks for the great lesson . Will this playlist covers all topics in the r3 one ? I mean should i watch the r3 first ?

mohammadayash