Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: TextLCD MbedJSONValue libMotiv picojson mbed-rtos mbed
Fork of Mbed_MotiVControllerBox by
Controller.h
- Committer:
- TimWoo
- Date:
- 2014-10-25
- Revision:
- 0:2279181caaa1
File content as of revision 0:2279181caaa1:
#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
