     // AIN+ < AIN-
     line[0] |= (1 << (x | 1));    // store B10
   }
+#endif
 }
 
 void _resetCMP()

// In order to use D4 as an interrupt pin we need to do it low level. (sigh..)
// "How To Do It" documents about GR-KURUMI should be prepared...

#else // Arduino Pro Mini

// The part of code utilizes the following library. Please download and install.
//   https://github.com/leomil72/analogComp
//#include "analogComp.h" // *** please comment out this line if Teensy 3.1 or GR-KURUMI ***

#endif

// Bulk motion detection:
// volatile variables
volatile uint16_t interlace;
volatile uint16_t currentLine;
volatile uint16_t lastHsyncTime;

void _resetCMP()
{
  // prepare capturing video frames.
  // set the ref8erence analog voltage.
  analogWriteResolution(12);
  analogWrite(A14, brightnessThreshold);

  analogComparator1.setOn(3, 0); // set comparator input PSEL=IN3 (DAC0_OUT) / MSEL=IN0 (D23)
  analogComparator1.enableInterrupt(changeHandler, CHANGE);
}

#elif defined(REL_GR_KURUMI) // GR-KURUMI
