Arduino Workshop - Chapter Three - Creating Functions

preview_player
Показать описание

In this section, we'll be learning about using and creating your own functions to write modular, reusable code.

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

Excellent information, and well structured! You are a great teacher.

chetronics
Автор

I'm freaking loving this series!!!

Adrian-yzoe
Автор

Quite combined lecture. If I get this I would be overwhelmed

LemonTreeNOTfree
Автор

Yo, nice vid, but pls get rid of the music. Its just annoying background noise that makes it harder to focus on what ur saying

christianlycheknudsen
Автор

Good video. Thank you very much. Just one thing was a bit confusing. You jump very quickly between the code lines . Thanks again

michaelcostello
Автор

~ 7:17 Why did you use Serial.parseInt() instead of Serial.flush() to clear the buffer?
~ 7:55 you have an int return type on your findSide() function, but you do not return anything... Return an int, or void the return type....

gfodale
Автор

Excellent video, I am learning a lot from you. Thank

bunberrier
Автор

Thank for the help !, it was super easy to understand .

bryananthony
Автор

The way I see it. These “functions” are similar to BASIC Sub-Routines

brucewoods
Автор

Swamp introduction to functions! How's about you start with calling a function without variables first to light up an LED in the loop instead of adding special lines for parsing of serial monitor and scrolling up and down the sketch using math outputs like we are time travellers!

aeromancystudios
Автор

I’ve noticed that you can’t have two “void loops” in one program, but I wanna know if I can still loop a program, but instead, call it “void temp”

drakethomas
Автор

Pls I don't really understand how u created the read serial function .I thought to create a function we use void +parameter for example why can't u say void readserial

AzeezMuhammed-roru
Автор

Why do you define "float result ; " in the beginning but not use it anywhere in the sketch?

unicycleboy
Автор

you used int findside function but even if your function return type is in int you didn't used return in that function body ??

biswajitpatra
Автор

You jump very quickly between the code lines

Wanderlust
Автор

How is it possible to create a function after the function is being called ?

noodler
Автор

Thank you for another informative video! Would like to ask why it is that you use the function "readSerial"? how can it be used instead of "Serial.read ", or where does "Serial.parseint" return a value for "readSerial"? I seem to be overlooking something... Otherwise thank you again for all your videos!

danthemancasey
Автор

hello bro I need your help in the arduino program I have code but in this there is something that I did not understand
can you please help me ?

yamrajoli
Автор

Why do it 'readSerial' was not declared in this scope. I need help please, I copy the code but that happen

vampyceiling
Автор

Could anyone explain this code?

if(i < 1 || (i%1 != 0))

I get less than one but, i remainder 1 is not equal to 0? Is that correct? What does that mean?

Javaman
visit shbcf.ru