Lesson 11 | Understanding loop() and setup() | Arduino Crash Course

preview_player
Показать описание
🤩 FREE Arduino Crash Course 👇👇

*Want to learn more? Check out our courses!*

We designed this circuit board for beginners!

SHOP OUR FAVORITE STUFF! (affiliate links)
---------------------------------------------------

Get your Free Trial of Altium PCB design Software
We use Rev Captions for our subtitles

Arduino UNO R3:

Budget Arduino Kits:

Multimeter Options:

Helping Hands:

Soldering Stations:

AFFILIATES & REFERRALS
---------------------------------------------------

FOLLOW US ELSEWHERE
---------------------------------------------------

*About Us:*
This Arduino tutorial was created by Programming Electronics Academy. We are an education company who seek to help people learn about electronics and programming through the ubiquitous Arduino development board.

*We have no affiliation whatsoever with Arduino LLC, other than we think they are cool.*
Рекомендации по теме
Комментарии
Автор

Turn up to 1.75 play back speed if you wanna get moving, leave it as is if you want something soothing ;)

mvigno
Автор

I found this series so clearly explained, with clear, relatable metaphors. Thank you :)

edbracey
Автор

Your shining LED thumbnail is very appropriate. This video was a light bulb moment for me. Excellent work💎👌

MrRadbadger
Автор

So to summarize --
setup() function sets up the environment for the loop() function (what's going to be used for inputs and outputs, and such...)
loop() functions loops through the code over and over, and sends out instructions to inputs/outputs as instructed (or conditioned).

houalee
Автор

Hey thanks for the video. I've seen other code that have more than just one loop function on it, could you explain that in another video? again, thank you.

OliverMotorized
Автор

A holy grail video absolutely a core tool

andrewholmes
Автор

This tutorial made me hungry because of the analogy! 😂

samup
Автор

Thank you very much for this simple and clear explanation :) please keep going on your intresting coding videos <3

amalelghailani
Автор

I wish the crash course didn't stop

ciprianciprian
Автор

Very good and clear video. Thanks you.

hamzaettaleb
Автор

Awesome on how he relates coding to real life

sherlanmamaril
Автор

veeery simple veery beautifull, perfect way to explain. thank a loooot

pakistantechnology
Автор

Nice analogies - thank you for this wonderful series. You explain everything so well.

dejavu
Автор

Helpful explanation, thx for sharing.

tnarch
Автор

Love your tutorials thank's for your time.

wilcornejo
Автор

This is actually a really good video. Thank you.

HyperionBadger
Автор

What if I want to build an array of 10 numbers using a "for loop" when the program begins, but do it only once? Can that be done in setup? Can the array values then be used in "void loop()?"

ericthered
Автор

I am confused about something ... How is setup() different than just writing that code above it (after includes) ? That should also run just once. If so, why the need for setup() ? And can setup() be called again to reset things ? If so, did I just answer my own question ? :)

adrianTNT
Автор

could I do a void setup and not have a void loop if so , how?

taranagnew