
ControllerBox directs electromechanical equipment in restaurants to display information.
Dependencies: TextLCD MbedJSONValue libMotiv picojson mbed-rtos mbed
Fork of Mbed_MotiVControllerBox by
Diff: Controller.h
- Revision:
- 1:d54aed10ddf3
- Parent:
- 0:2279181caaa1
- Child:
- 2:ad4509a9d051
--- a/Controller.h Sat Oct 25 00:11:12 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -#ifndef MOTIV_CONTROLLER_H -#define MOTIV_CONTROLLER_H - -//Controller -#include <string> -#include "mbed.h" - -class Controller { -public: - enum cStatus { - READY, - WAITING, - BUSY, - ERROR - }; - Controller(TextLCD *lcd); - cStatus getStatus(); - string statusString(); - void setStatus(cStatus); - void displayStatus(); - - void displWriteLine(int row, char c); - - TextLCD *_lcd; - -private: - cStatus _status; - - -}; - -#endif \ No newline at end of file