   uint8_t i = 0;
   DEBUG("Max # of pins:");
   DEBUGLN(MAX);
-   
-  for (i = 0; i < MAX; i++) {
+  pins_conf = eeprom_read_byte((uint8_t*)&(_CV.pins_conf));
+  for (i = 0; i < pins_conf; i++) {
     configureSlot(i);
   }
   programmingMode = false;


void loop() {
	pins_busy = false;
  for (uint8_t i =0 ; i < MAX ; i++) {
	 confpins[i]->update();
  };
  


#define MAX 24
ConfiguredPin* confpins[MAX];
uint8_t pins_conf = 0;

#include "Adafruit_TLC5947.h"

