     
     message.getBytes(buffer, 64);
     RawHID.send(buffer, 100);
-  }
+  //}
 }
 
 int sendData(unsigned long now)

unsigned int packetCount = 0;

void loop() {
  sendQueue.Run(millis());
  
  n = RawHID.recv(receiveBuffer, 1); // 0 timeout = do not wait

  for (int i=0; i<=4; i++) {
    pinMode(i, INPUT);
  }
  pinMode(10, OUTPUT);
  pinMode(11, OUTPUT);
  pinMode(12, OUTPUT);
  pinMode(15, OUTPUT);
  pinMode(16, OUTPUT);
  pinMode(17, OUTPUT);
    
  attachInterrupt(0, pin0, RISING);
  attachInterrupt(1, pin1, RISING);
  attachInterrupt(2, pin2, RISING);
  attachInterrupt(3, pin3, RISING);
  attachInterrupt(4, pin4, RISING);
  
  pinMode(18, INPUT);
  pinMode(19, INPUT);
  attachInterrupt(20, pin18, RISING);
  attachInterrupt(21, pin19, RISING);
  
  pinMode(20, INPUT);
  pinMode(21, INPUT);
  attachInterrupt(20, pin20, RISING);
  attachInterrupt(21, pin21, RISING);
}

// RawHID packets are always 64 bytes
