 
 }
 
+void pinChanged() {
+    if (pinChangeCount == 0) {
+        // first change should be high to low,
+        // second change should be low to high (for a zero)
+        pinChangeCount++;
+    } else {
+        if (!q.isEmpty()) {
+            pinChangeCount = 0;
+            sendByteOnPin(q.dequeue());
+        }
+        else {
+          nextCharOkay = true;
+        }
+    }
+}
+
+


#define LETTER_DELAY 150
#define CHAR_DELAY 150

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

        print_str("\"the quick brown fox jumps over the lazy dog.\"");
        send_return(46);*/

        print_str("testing");
        /*print_str("ABCDEFGHIJKLMNOPQRSTUVWXYZ");
        send_return(26);

        print_str("1234567890");
        send_return(10);

        print_str(",./?");
        send_return(4);*/
        
        /*
        sendByteOnPin(0b00000000);
