3rd year group project. Electronic and Electrical Engineering. Heriot-Watt University. This is the code for the mbed for the Automatic Little Object Organiser (ALOO).

Dependencies:   MCP23017 TCS3472_I2C WattBob_TextLCD mbed

commander.h

Committer:
dreamselec
Date:
2015-11-16
Revision:
6:98fe30430194
Parent:
3:843b830ee8bd
Child:
8:e1da2ae62885

File content as of revision 6:98fe30430194:

//
// commander.h
// Created by Chandan Siyag on 14/11/2015.

#include "globals.h"

#ifndef _commander_h_
#define _commander_h_


class Commander {
public:
	Commander();
	
	CommandTypeRaw typeRaw;
	char typeChar;
	std::string object;
	std::string command;
	
	void decodeCommand(CommandTypeRaw type);
	std::string description();
	
	virtual ~Commander();
	
private:
	void readCommandObject();
};

#endif