         
       //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

    int signPin();
    int noisePin();
  
    static const unsigned int kHistoryCount = 200;

    double _cpmHistory[kHistoryCount]; //History of count rates
    
    int _prevTime;

  private:
    int _signPin;   //Radiation Pulse (Yellow)
    int _noisePin;  //Vibration Noise Pulse (White)
    
  
};

RadiationWatch::RadiationWatch(int signPin, int noisePin) : _signPin(signPin), _noisePin(noisePin)
{
  _prevTime = 0;
}

void RadiationWatch::setup()

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

RadiationWatch radiationWatch(2, 5);

void setup()
{
  //Serial setup
  //9600bps
  Serial.begin(9600);
  
  radiationWatch.setup();

  radiationWatch.printKey();
}

void loop()
{
  radiationWatch.loop();
}


