Lesson 39 – Arduino C;C++ Multiple Digital Write Array Output

66 Просмотры
Издатель
In one of the previous lessons I showed you what a Array means in C;C++ Programming. In this lesson we will apply Array concept to trigger multiple digital write output to multiple LEDs. All LEDs will light one after the other following the Array of digital write we assign in Arduino using C coding.
We will connect the five LEDs to pins 13, 12, 8, 4, and 2 of the Arduino board. The required resistance of the resistors is enough to light up an LED without damaging the board and other components.
The LED arranged one after another will light up. We can also change or rearrange the LEDs connected to the specified pin number on the board.
Категория
Язык программирования C++
Комментариев нет.