8x81 8 x 8 dot Matrix 코드 1 : 문자열을 출력하는 코드 #include "LedControlMS.h" #define DATA_IN 4 #define CLK3 #defineCS2 #define NBR_MTX 1 //number of matrices LedControl lc=LedControl(DATA_IN, CLK, CS, NBR_MTX); String str="Serial Input is Ready!"; String inputStr; void setup() { Serial.begin(9600); for (int i=0; i< NBR_MTX; i++) { lc.shutdown(i,false); /* Set the brightness to a medium values */ lc.setIntensity(i,8); /* and c.. 아두이노 2022. 1. 17. 이전 1 다음