O'Reilly logo

Beginning C for Arduino: Learn C Programming for the Arduino, Second Edition by Jack Purdum Ph.D.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Jack Purdum 2015
Jack PurdumBeginning C for Arduino10.1007/978-1-4842-0940-0_6

6. Functions in C

Jack Purdum
(1)
Ecosoft, Inc., Cincinnati, Ohio, USA
 
You already know what a function is, but let’s give it a formal definition. A function is a body of code designed to solve a particular task. You should think of a function as a black box, the contents of which are unknown to you. All you care about is that it addresses some task to be accomplished in your program. Hundreds of functions are available for you to use in various function libraries. A function library is simply a collection of functions that share a common area of interest (e.g., the Math and Time functions in Arduino C.) However, many vendors have added new libraries of their own to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required