   // read commands when we get a full line
   if (stringComplete) {
     read_command();
+#ifdef DEBUG
     lcd_command();
+#endif
     do_command();
   }
 

    #define D6_pin  6
    #define D7_pin  7
    LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_pin);
}


const int potPin1 = A0;

  while (Serial.available()) {
    // get the new byte:
    char inChar = (char)Serial.read();
#ifdef DEBUG
    lcd.clear();
    lcd.setCursor(0,0);
    lcd.print(inChar);
#endif

    // add it to the inputString:
    inputString += inChar;
    // if the incoming character is a newline, set a flag
