-
네오픽셀 144 LED 제어콤퓨타/아두이노 2021. 3. 8. 14:50
네오픽셀은 3개의 전선으로 아두이노와 연결되는데
+,-,data 세가지이다.
아두이노 라이브러리 매니저에서 라이브러리를 설치한다.
#include <Adafruit_NeoPixel.h>
Adafruit_NeoPixel strip = Adafruit_NeoPixel(144, PIN number, NEO_GRB + NEO_KHZ800);
strip.begin();
strip.setPixelColor(index , colorValue);
strip.show();
lhdangerous.godohosting.com/wiki/index.php/%EB%84%A4%EC%98%A4%ED%94%BD%EC%85%80_(NeoPixel)