filmov
tv
Arduino Tutorial 15: Intro to Functions in Arduino

Показать описание
And, almost forgot -- DON'T FORGET TO SUBSCRIBE TO MY CHANNEL!
In this video, we'll get an introduction to functions in Arduino.
A function is a self-contained unit of program code designed to accomplish a particular task.
Think of functions as building material for Arduino programs
Arduino comes pre-packaged with many different functions for handling different common tasks. Another cool thing about functions is that you can write your own custom functions to do whatever you want.
Using functions with Arduino is a good idea because it makes a program more modular, hence easier to read and easier to change or fix.