[Arduino Module] #10. RGB
2022. 3. 10.
RGB Module RGB LED - GND R 11 G 10 B 9 RGB BLINK 예제 long pm_3[3] = {0,}; long md_3[3] = {1000,2000,3000}; const int RGB[3] = {9,10,11}; int RGBS[3] = {LOW,LOW,LOW}; void turnoff(){ digitalWrite(RGB[0],LOW); digitalWrite(RGB[1],LOW); digitalWrite(RGB[2],LOW); } void setup(){ for(int i=0;i