ABSTRACT

The desired functionality of the Arduino UNO board is controlled by the application program developed by the user. The application program guides the Arduino board to perform the intended task. Therefore, knowledge of various constructs of the application program is much needed. This chapter deals with the structure of the Arduino program, syntax of creating variable, and constant and predefined operators. In this chapter, readers will also understand the syntax of various functions and their applications that can be used while writing the Arduino program. The illustration of various constructs of the application program is given by using examples. A good understanding of this chapter will be useful for the readers in subsequent chapters when they will be developing application programs for the Arduino UNO board along with interfacing devices (sensors, actuators, input, and output devices) and small projects. In this chapter, readers will also learn the specific functions which should be used when they are interfacing digital and analog devices with the Arduino UNO board.