Hugo Hu / Mbed 2 deprecated BRAVEHEART

Dependencies:   mbed N5110 ShiftReg PinDetect

Committer:
Siriagus
Date:
Fri May 01 00:38:59 2015 +0000
Revision:
4:d6661b976359
Child:
7:678873947b29
Started rewriting the main finite state machine - design in progress

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Siriagus 4:d6661b976359 1 #include "State.h"
Siriagus 4:d6661b976359 2 #include "StateManager.h"
Siriagus 4:d6661b976359 3
Siriagus 4:d6661b976359 4 // Request the fsm to change to a new state
Siriagus 4:d6661b976359 5 void State::changeState(MainState newState)
Siriagus 4:d6661b976359 6 {
Siriagus 4:d6661b976359 7 // Todo: Rather call a function in StateManager that postponed the change until every update is done
Siriagus 4:d6661b976359 8 fsm->changeState(newState);
Siriagus 4:d6661b976359 9 }