 //
 // Return 'true' if button was down during setup.
 // This is used to reset some VFO display values if necessary.
+//
+// Note that the three RE inputs are inverted due to 74HC14 debounce
 //----------------------------------------
 
 bool re_setup(void)


//----------------------------------------
// Toggle the VFO mode: vfo_Online or vfo_Standby.
//----------------------------------------
void vfo_toggle_mode(void)
{

  attachInterrupt(digitalPinToInterrupt(re_pinPush), pinPush_isr, CHANGE);

  // look at RE button, if DOWN this function returns 'true'
  return (PIND & 0x10);
}

//----------------------------------------
// Handler for pusbutton interrupts (UP or DOWN).
// Note: input signal has been inverted.
//----------------------------------------

void pinPush_isr(void)
{
  // sample the pin value
  re_down = (PIND & 0x10);
  
  if (re_down)
  {
