   char c;
   if ( Serial1.available() ) {
     c = Serial1.read();
+    if ( DEBUG ) Serial.write( c );
     if ( !sentenceRdy ) {
       if ( c == 36 ) { //36 is '$', start of GPS statement - KN
         sentenceIndex = 0;

//const int pin2 = 2;

void setup(){
  Serial1.begin(9600);  
  Serial2.begin(9600); 
  setSyncProvider( getTeensy3Time );

/*
 * Serial:  Serial Monitor through USB
 * Serial1: GPS and LOGGER 
 * Serial2: RF IN/OUT
 */
#include <TimeLib.h>
const boolean DEBUG = false;
const int GPSLEN = 100; //max length of GPS output to be sent
char pkt_buffer[200];
boolean sentencePending, sentenceRdy, sentenceBufRdy;
boolean txFlag, help;
