   else {
     val = 1;
   }
-  tm.setLed(col,row,val);
+  tm.setLed(col,row,val,true);
   delay(5);
 }
 

 so led 0 to 7 will be in the column 0 and so on.
 */
void randomLed2(){
  byte led = random(0,63);
  byte val = 0;
  if (tm.getLed(led) == 1){
    val = 0;

volatile byte pButton = 0;
volatile byte pOldButton = 255;

void setup() {
  Serial.begin(38400);
  //optional:brightness(0:7))
  tm.begin();
}

void loop() {
  randomLed2();
  uint16_t pButton = tm.getButtons(true);
  if (pButton != 0) {
    if (pOldButton != pButton){
      pOldButton = pButton;
      if (tm.getLed(pButton-1) == 0){
        tm.setLed(pButton-1,1,true);
      } 
      else {
        tm.setLed(pButton-1,0,true);
      }
      Serial.println(pButton,DEC);
    }
  }
}

//this use column,row led addressing
void randomLed1(){
