 
 int doorEvent = 0;
 
-int toneDisableTimeout;
-int toneEnabled = 0;
-
 int soundDelayTimeout = 0;
 
 int lockTransitionTimeTimeout = 0;


		if (button == released)
		{
			if (time > 200)
			{
				// sending notification with button press time
				udp.beginPacket(srvIp, 10000);

void playSong();
void lockDoor();
void unlockDoor();
void unlockDoorForce();
void cardAccepted();
void cardRejected();

