 #define CMD_GET_SNR 0x25
 
 SoftwareSerial RDM880(RDM880_RX, RDM880_TX);
-//char txrxbuffer[bufferSize];
 
 const int ledPin = 13;
 const int signalPin = 4;

*/
unsigned long accumulator(void) {
	unsigned long startTime, endTime = 0;
	int pollCounter = 0;
	int signalState;
	int previousState;
	bool cardPresent;

	while(1) {
		// poll for card
		MF_SNR();
		cardPresent = getResponse();
		delay(cardTimeout);
		pollCounter += 1;
		if(!getResponse()) {
			Serial.println("Card not detected.");
			return 0;
		}

		// read signal state

	}


	/*// Write time data to card
	MF_WRITE(0x01, 0x05, elapsedTime);
	delay(200);
	responseFlag = getResponse(readData);
	if(responseFlag == false) Serial.println("Unexpected result");*/
	

}
