     // clears interrupt bits
     delay(10);  
     write(CONFIG1, 0x83);  // Measurement mode 2 - force cal
-
-}
-
-// Calculate and print time interval to serial
-void output_ti() {
 }
 
 void tdc7200Channel::write(byte address, byte value) {

// TICC.ino - master sketch file

// TICC Time interval Counter based on TICC Shield using TDC7200
// version 0.53 -- 24 July 2016

// Copyright John Ackermann N8UR 2016
// Portions Copyright George Byrkit K9TRV 2016

  Serial.print(" cal2Result="), Serial.println(cal2Result);
*/
  
  long ringticks;            //  time1Result - time2Result, unitless
  long ringps;               // ps per ring cycle, picosends, result of calibration formula, nominal 55ps 
  long ringtime;             // ringticks * ringperiod, picoseconds
  unsigned long clocktime;   // clock1Result * CLOCK_PERIOD, picoseconds
  unsigned long tof;         // clocktime - ringtime, picoseconds; "time of flight" per datasheet

  // get ringperiod.  Datasheet says: (cal2Result - cal1Result)/(cal2Periods - 1)
  
