filmov
tv
Lesson 2 – Arduino C;C++ Structure and Flow

Показать описание
In this lesson C, C++ Coding of the Arduino we look at the basic structure of an Arduino sketch and the top-to-bottom execution of program instructions (or program flow). A basic Arduino sketch consists of two functions called setup() and loop(). Open the Arduino IDE and select File → Examples → 01.Basics → BareMinimum to see the two functions. These two functions now appear in a default new Arduino IDE window, so it is not necessary to open the BareMinimum example sketch in a new version of the IDE.