working commands. singleton deleted
Diff: Command.h
- Revision:
- 0:e188325211af
- Child:
- 2:c9e47ac47edb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Command.h Thu Jun 04 10:56:18 2015 +0000 @@ -0,0 +1,19 @@ +#ifndef _COMMAND_H_ +#define _COMMAND_H_ + +#include "mbed.h" + +class Command { + public: + virtual void initialize()= 0; + virtual void execute()= 0; + virtual void button()= 0; + virtual void finish() =0; + + void setLed(int); + void setTicker(float); + void detachTicker(); + void ledTicker(); +}; + +#endif /* _COMMAND_H_ */ \ No newline at end of file