 }
 
 // This interrupt run on every sample (7128.5 times a second)
+// though it should be every 7128.5 the sample rate had to be set differently
+// to produce the correct baud rate and frequencies (that agree with the math)
+// Why?! I'm going to figure that one out
 ISR(TIMER2_OVF_vect) {
   count++;
   if (tx == 0) return;
 
-  // if were done transmitting the last 1 or 0
-  // read the next bit and change the tone
-  // if end of the array, stop transmitting
+  // if we've played enough samples for the symbol were transmitting, get next symbol
   if (count >= sampPerSymb){
     count = 0;
     bitPstn++;
+
+    // if were at the end of the character return to the begining of a
+    // character and grab the next one
     if(bitPstn > (bits-1)) {
       bitPstn = 0;
       
+      // dont increment bytePstn if were transmitting a shift-to character
       if(justshifted != 1) {
         bytePstn++;
       } else {

// To be used on an arduino
// Uses Fast PWM to produce 8kHz 8bit audio
// Maybe in time go to 16 bit using Timer 2 but not yet...

#include "baudot.h"
#include "pwmsine.h"

char pflag = 0;
unsigned int sampleRate = 7750;

        }
      }      
      
      // for printing the char to serial
      sym = charbuf;
      pflag = 1;
    }
