Поделка - Новогодняя ёлка из картона + Arduino UNO ( demo )

Аватар автора
Рождественский звонок
Программа работы ёлочных гирлянд написана в среде Arduino IDE. Для того чтобы ёлочные гирлянды мигали каждая с разным периодом в скетче применил элементы ООП, такие как классы. Благодаря этому удалось разделить все гирлянды на несколько групп, которые работают по своему алгоритму. Имеются два класса - мигание и мерцание гирлянды. На основе их сделаны экземпляры классов которые и задают режим работы всей поделки. The program of work of Christmas tree garlands is written in the Arduino IDE. In order for Christmas tree lights to blink, each with a different period in the sketch applied elements of the OOP, such as classes. Due to this, it was possible to divide all the garlands into several groups that work according to their algorithm. There are two classes - blinking and twinkling lights. On the basis of them, instances of classes were made which set the mode of operation of the entire craft. Seth_Partridge_-_02_-_Sing_We_Now_Of_Christmas_Excerpt

0/0


0/0

0/0

0/0