Lecture-2 (Introduction To Arduino)
Lecture-2 (Introduction To Arduino)
1. Name variable
In the first part elements of the program are named ( This
will be explained in program no. This part is not
absolutely necessary.
2. Setup (absolutely necessary for the program)
The setup will be performed only once. Here you are
telling the program for example what
Pin (slot for cables) should be an input and what should be
an output on the boards.
3. Loop (absolutely necessary for the program)
This loop part will be continuously repeated by the board. It
assimilates the sketch from beginning to end and starts
again from the beginning and so on.
Basic Example
PWM Code
Arduino
PWMBlink