 //#define SERIAL_INFO			// Should device values be streamed via serial? csv: ms, ldr1, ldr2, rgb, height, frc, haspulse, swbot
 //#define SERIAL_SYNC_DEBUG		// Should sync pulse debug data be streamed via serial? csv: ms, r, g, b
 //#define SERIAL_SYNC_DEBUG2	// Should the verbose sync pulse debug data be streamed via serial? csv: ms, slope, max, r, g, b, min, raw
+//#define EMIT_MODES
 
 /** Colour modes - how the RGB LED is controlled. */
 #define RGBMODE_NONE     0		// The RGB LED displays nothing.

 *   become more accurate.
 */
void loopHeightMode() {
	
	// Determine historic variables for height sampling.
	static uint16_t min = 99999;

		switch( eClipMode )
		{
			case EEMODE_HEIGHTONLY:
				#ifdef EMIT_MODES
				Serial.println( "HEIGHT" );
				#endif
				pRGB.setPixelColor(0,  255, 0, 0);
				break;
			case EEMODE_SYNCPULSE:
				#ifdef EMIT_MODES
				Serial.println( "SYNC" );
				#endif
				pRGB.setPixelColor(0,  0, 255, 0);
				break;
			case EEMODE_SERIAL:
				#ifdef EMIT_MODES
				Serial.println( "SERIAL" );
				#endif
				pRGB.setPixelColor(0,  0, 0, 255);
				break;
		}
