 // Calibration of Arduino quartz ( 16 MHz) with a reference of 1 Hz 
 
-#include <eRCaGuy_Timer2_Counter.h>
 #include <DS3232RTC.h>
 #include <Wire.h>
 #include <LiquidCrystal_I2C.h>


void myinthandler() {

  //currentMicros = micros() ;
  currentMicros = timer2.get_count() / 2.0;
  duration = currentMicros - previousMicros;
  previousMicros = currentMicros; 


  lcd.print("Start calibration... ");
  lcd.setCursor(9, 2);
  lcd.print(" MHz");
  attachInterrupt(1, myinthandler, RISING);
}

