     //String message = String((char *)buffer);
     //Serial.println(message);
     
-    byte chars[63];
+    digitalWrite(10, receiveBuffer[1]);
+    digitalWrite(11, receiveBuffer[2]);
+    digitalWrite(12, receiveBuffer[3]);
+    digitalWrite(15, receiveBuffer[4]);
+    digitalWrite(16, receiveBuffer[5]);
+    digitalWrite(17, receiveBuffer[6]);
+        
+    /*byte chars[63];
     memcpy(chars, receiveBuffer, 63);
     
-    String command = "";
+    String command = String("");
     for (int i=1; i<63; i++) {
-      //Serial.print((char)receiveBuffer[i]);
-      String.concat(command);
+      Serial.print((char)receiveBuffer[i]);
+      //command += String((char)receiveBuffer[i]);
       //Serial.print(String((char)receiveBuffer[i]));
     }
-    Serial.println(command);
+    Serial.println(command);*/
         
     // the computer sent a message.  Display the bits
     // of the first byte on pin 0 to 7.  Ignore the

  for (int i=0; i<=4; i++) {
    pinMode(i, INPUT);
  }
  pinMode(12, OUTPUT);
  
  attachInterrupt(0, pin0, RISING);
  attachInterrupt(1, pin1, RISING);
  attachInterrupt(2, pin2, RISING);
  attachInterrupt(3, pin3, RISING);
  attachInterrupt(4, pin4, RISING);
}

// RawHID packets are always 64 bytes

#include <Encoder.h>
#include <Queue.h>

#define POS_1 888
#define POS_2 931
#define POS_3 971
int current_pos = 0;

Queue sendQueue;
int n;

Encoder baro(18, 19);
    
void setup() {
  Serial.begin(9600);
