 #define DEBUG_BATT    (1 << 8)  // battery
 
 // DEBUG word for debugging program - bitmask values
-//#define DEBUG         (DEBUG_BATT + DEBUG_ACT)
-#define DEBUG         0
+#define DEBUG         (DEBUG_BATT + DEBUG_ACT)
+//#define DEBUG         0
 //#define DEBUG         0xff
 
 // Digital VFO program name & version
 const char *ProgramName = "DigitalVFO";
-const char *Version = "1.5";
-const char *MinorVersion = ".2";
+const char *Version = "1.6";
+const char *MinorVersion = ".0";
 const char *Callsign = "ac3dn";
 
 // display constants - below is for ubiquitous small HD44780 16x2 display

  
  // show the main screen and continue in loop()
  show_main_screen();
  Serial.printf(F("\nReady!\n"));
}

//----------------------------------------

  pinMode(mc_Brightness, OUTPUT);
  pinMode(mc_Contrast, OUTPUT);

  // initialize the display
  lcd.begin(NumCols, NumRows);      // define display size
  lcd.noCursor();
  lcd.clear();

  // get state back from EEPROM, set display brightness/contrast
  restore_from_eeprom();
  analogWrite(mc_Brightness, 0);    // display off while initializing
  analogWrite(mc_Contrast, LcdContrast);

  // create underlined space for frequency display
  lcd.createChar(SpaceChar, sel_digits[SpaceIndex]);
