         
       //Create message for serial port
       sprintf(msg, "%d,%d.%03d,%d,%s,%s,%s",
-      totalHour,totalSec,
-      cpmTimeMSec,
-      signCount,
-      cpmBuff,
-      uSvBuff,
-      uSvdBuff
+        totalHour,totalSec,
+        cpmTimeMSec,
+        signCount,
+        cpmBuff,
+        uSvBuff,
+        uSvdBuff
         );
         
       //Send message to serial port

    }
    
    //Initialization for next 10000 loops
    prevTime = currTime;
    signCount=0;
    noiseCount=0;
  }
  index++;
}



  return digitalRead(_noisePin);
}

void RadiationWatch::loop()
{
  // Raw data of Radiation Pulse: Not-detected -> High, Detected -> Low
  int sign = signPin();

  // Raw data of Noise Pulse: Not-detected -> Low, Detected -> High
  int noise = noisePin();

  //Radiation Pulse normally keeps low for about 100[usec]
  if(sign==0 && sON==0)
