 }
 
 void send_letter(int letter) {
-    q.enqueue(0b100100001);
-    q.enqueue(0b000001011);
-    q.enqueue(0b100100001);
-    q.enqueue(0b000000011);
-    q.enqueue(letter);
-    q.enqueue(0b000001010);
-    sendBytes();
+    sendByte(0b100100001);
+    sendByte(0b000001011);
+    sendByte(0b100100001);
+    sendByte(0b000000011);
+    sendByte(letter);
+    sendByte(0b000001010);
+    
 
     delay(LETTER_DELAY); // before next character
 }

}

void correct_letter(int letter) {
    q.enqueue(0b100100001);
    q.enqueue(0b000001011);
    q.enqueue(0b100100001);
    q.enqueue(0b000001101);
    q.enqueue(0b000000101);
    q.enqueue(0b100100001);
    q.enqueue(0b000000110);
    q.enqueue(0b000000000);
    q.enqueue(0b000001010);
    q.enqueue(0b100100001);
    q.enqueue(0b000000100);
    q.enqueue(letter);
    q.enqueue(0b000001010);
    q.enqueue(0b100100001);
    q.enqueue(0b000001100);
    q.enqueue(0b010010000);
}

void micro_backspace() {
    q.enqueue(0b100100001);
    q.enqueue(0b000001110);
    q.enqueue(0b011010000);
    q.enqueue(0b100100001);
    q.enqueue(0b000001011);
    q.enqueue(0b100100001);
    q.enqueue(0b000001101);
    q.enqueue(0b000000100);
    q.enqueue(0b100100001);
    q.enqueue(0b000000110);
    q.enqueue(0b000000000);
    q.enqueue(0b000000010);
    q.enqueue(0b100100001);
    sendBytes();

    // send one more byte but don't wait explicitly for the response
    // of 0b000000100
    sendByteOnPin(0b000001011);
}

void sendBytes() {
    while (!q.isEmpty()) {
        //Serial.println("sending bytes!");
        sendByteOnPin(q.dequeue());
        // wait for low then high (for a zero)
        //PORTD |= 0b01000000;
        //int pinStatus = ((PIND & 0b01000000) >> 6);
        //Serial.println(pinStatus);
        while (((PIND & 0b01000000) >> 6) == 1) {
          // busy
        }

#define LETTER_DELAY 170
#define CARRIAGE_WAIT_BASE 300
#define CARRIAGE_WAIT_MULTIPLIER 15

byte asciiTrans[128] = 
//col: 0     1     2     3     4     5     6     7     8     9     a     b     c     d     e     f     row:
