 {
   // get the matrix state used in the pitch/roll/yaw masks below
   uint16_t helm = helmReadMatrix();
-
+/*
 #ifdef DEBUG
   Serial.print(F(" => maxtrix:\n\t"));
   Serial.println(helm, BIN);
 #endif
-
+*/
   // update control surface inputs
   // the MASKED_ contants have "helm | DIR_MASK_x" format for convenience
   pitchAdjust = helmGetAdjustment(MASKED_PITCH_U, MASKED_PITCH_D, pitchAdjust);

  uint16_t matrix = 0;
  uint8_t row = 0, col = 0;

  for (row = PIN_HELM_MAT_ROW; row < PIN_HELM_MAT_ROWS; row++)
  {
    digitalWrite(row, LOW); // turn on the active-low row

    for (col = PIN_HELM_MAT_COL; col < PIN_HELM_MAT_COLS; col++)
    {
      matrix <<= !digitalRead(col); // invert and shift in the next column bit
    }

    digitalWrite(row, HIGH); // turn off the active-low row
  }

  return (matrix);
}


// delays
#define DELAY_LOOP 10 // these are milliseconds
#define DELAY_DEBUG 750
#define DELAY_START 30
#define DELAY_CTRL 100
#define DELAY_OP 100
