Тёмный

LED-nauhan (WS2812B) ensimmäinen testailu 

Crx
Подписаться 5
Просмотров 304
50% 1

Testiohjelma strandtest kirjastosta Adafruit NeoPixel. Ledinauhaa 5 metrin pituinen pätkä, 30 lediä metrille eli yhteensä 150 valoa.
Pääohjelmassa on käytännössä tällaiset kutsut:
colorWipe(strip.Color(255, 0, 0), 50); // Red
colorWipe(strip.Color(0, 255, 0), 50); // Green
colorWipe(strip.Color(0, 0, 255), 50); // Blue
// Send a theater pixel chase in...
theaterChase(strip.Color(127, 127, 127), 50); // White
theaterChase(strip.Color(127, 0, 0), 50); // Red
theaterChase(strip.Color(0, 0, 127), 50); // Blue
rainbow(20);
rainbowCycle(20);
theaterChaseRainbow(50);

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1   
@haye101
@haye101 4 года назад
Onhan noi kauniimmat kun suomen markkina ledit
Далее
Это нужно попробовать
00:42
Просмотров 437 тыс.
INVENTIONS THAT WILL SAVE YOUR LIFE
8:04
Просмотров 1,8 тыс.
How a TV Works in Slow Motion - The Slow Mo Guys
11:39
Have you ever seen soldering THIS close?
9:53
Просмотров 449 тыс.