ABSTRACT

Arduino programming language is fundamentally based on a function-oriented programming approach. Each module in the firmware design can be considered as a set of functions. Like other programming languages such as C or C++, we can define a set of functions in a single file or might write them in a separate header file and attach them by using the include directive. Here, functions are also treated as modules. Unlike other programming languages, the Arduino function structure does not depend on the main() function directly. Arduino also supports a modular programming approach. The detailed function and its configuration are discussed in this chapter.