Avec la carte Elegoo Uno R3, compatible avec la carte UnoR3,
En utilisant la librairie MAX721 utilisant la librairie Led Control pour afficher chaque Led une par une.
//Mario’s Ideas
//MAX7219 – using Led Control library to display all leds one by one
#include <LedControl.h>
int DIN = 11;
int CS = 7;
int CLK = 13;
LedControl lc=LedControl(DIN, CLK, CS,0);
void setup() {
lc.shutdown(0,false);
lc.setIntensity(0,0);
lc.clearDisplay(0);
}
void loop() {
for(int j=0;j<8;j++){
for(int i=0;i<8;i++){
lc.setLed(0,j,i,true);
delay(100);
lc.setLed(0,j,i,false);
}
}
}



