   pulse_count[IRQ_1]++;
 }
 
+
+
+
+

  Serial.println();
}

// ISR

void timer_isr()
{
  static int idx = -1;
  idx = idx++ % BUF_LEN;

  ring_buffer[IRQ_0][idx] = pulse_count[IRQ_0];
  ring_buffer[IRQ_1][idx] = pulse_count[IRQ_1];

  for(int i =0; i < 2; i++)
    pulse_count[i] = 0;
}

void tach_0_isr()


float conversion_factor = 1.0;

volatile int pulse_count[2] = {0};
volatile int ring_buffer[2][BUF_LEN] = {0};

void setup()
{
