// MAX7219 LED表示器 x2 // 7セグメント16桁 // // MAX7219 接続端子宣言 #define LED_DIN 4 #define LED_CLK 5 #define LED_LOAD 6 #include "MAX7219.h" void setup() { // put your setup code here, to run once:
LED_init(); } void loop() { // put your main code here, to run repeatedly: char pp[16] = "1234567812345678"; char *p; p = pp; LED_Intensity(1); LED_Print(p); delay(1000);