   LcdString("            ");
   LcdString(curBuf);
   LcdString("            ");
-  LcdString("            ");
-
+  LcdString("Gear:      5");
+
+  #ifdef TEST
+    Serial.println(tarBuf);
+    Serial.println("____________");
+    Serial.println("            ");
+    Serial.println(curBuf);
+    Serial.println("            ");
+    Serial.println("Gear:      5");
+   #endif
 }
 
 /*Functions to handle buttons to increase or decrease target cadence.*/

  targetCadence--;
}


void setup(void)
{
  //Setup Buttons
  //Enable internal pullup. 
  //These will be changed to the button pins when connected to the board, curretnly represents redboard buttons

#define LCD_X     84
#define LCD_Y     48

//Uncomment if you want to run in test mode
#define TEST


//Cadence will never go above 200, so 8 bit ints work well
uint8_t targetCadence = 0;
uint8_t currentCadence = 0;
uint8_t gearPos = 0;

volatile int flag = HIGH;

