     delay(1000);
   }
 }
-

volatile int _tap1Pulses = 0;
volatile int _tap2Pulses = 0;
const int _startThreshold = 50;

// prep - initialize serial (TX on pin 1) and wire up the interrupts for pulses from the taps (pins 2 and 3)
void setup() {


// handle interrupt pulses from the taps and send the START message
void tap1Pulse() {
  long pulses = ++_tap1Pulses;
  if(pulses == _startThreshold) {
    Serial.print("START 1 ");
    Serial.println(pulses, DEC);
  }
}
void tap2Pulse() {
  long pulses = ++_tap2Pulses;
  if(pulses == _startThreshold) {
    Serial.print("START 2 ");
    Serial.println(pulses, DEC);
