#include "LedControl.h" LedControl lc=LedControl(12,11,10,1); void setup() { // Initialize the MAX7219 device lc.shutdown(0,false); // Enable display lc.setIntensity(0,10); // Set brightness level (0 is min, 15 is max) lc.clearDisplay(0); // Clear display register } void loop() { lc.setDigit(0,0,4,true); // Display 4 to Digit 4, and turn DP on lc.setDigit(0,1,3,true); // Display 3 to Digit 3, " " lc.setDigit(0,2,2,true); // Display 2 to Digit 2, " " lc.setDigit(0,3,1,true); // Display 1 to Digit 1, " " lc.setDigit(0,4,7,true); // Turns L1, L2, and L3 on delay(1000); }