 */
 #include <Keypad.h>
 #include <FiniteStateMachine.h>
-#define NUMBER_OF_STATES 1
+#define NUMBER_OF_STATES 3
 const byte ROWS = 4; //four rows
 const byte COLS = 4; //three columns
 char keys[ROWS][COLS] = {

}

void loop(){
	ArduinoStateMachine.update();
}

void standbyState(){
	handleKeyboard();
}
void processingState(){
	delay(2000);
	ArduinoStateMachine.transitionTo(Standby);
}

void handleKeyboard(){
	char key = keypad.getKey();

	if (key) {
		Serial.println(key);

		else if (key == '5'){
			ArduinoStateMachine.transitionTo(Processing);
		}
		else if (key == '1'){
			ArduinoStateMachine.transitionTo(MotorTest);
		}
		else if (key == '2'){
			ArduinoStateMachine.transitionTo(Standby);
		}
		break;

	case RELEASED:
