A list of important concepts that you should remember has been provided so that you can easily recall the main points learnt in this chapter.
- In the Arduino parlance, a "program" is called a "sketch".
- Only one sketch can be loaded at a time into the Arduino board.
- The setup() function runs only once every time the board is either reset or powered up.
- The loop() function keeps running infinitely.
- Peripheral devices are connected using the digital and analog I/O pins.
- Peripheral devices may be powered by using the 5 volt and 3.3 volt power supply pins.
- The Arduino Uno board has 32 KB of memory. It must be used efficiently for managing complex scenarios.
- Arduino power supply pins should NOT be used for high powered devices such as motors.
- As the number of peripheral devices increase, the Arduino board's power supply pins may not be able to supply enough current (power). The chapter for Day-5 explains using batteries.
- When writing an Arduino sketch the first thing to do is to identify and appropriately setup the input/output modes of the pins being used in the device prototype.
- The pinMode() function is used to configure the pins for input and output.
- The digitalRead() and analogRead() functions are used for reading input signals from the pins.
- The digitalWrite() and analogWrite() functions are used for writing (sending) output from the pins.