a command line interface that can dynamically assign pins
Dependencies: TextLCD mbed PS2
Diff: Command.h
- Revision:
- 0:4b04cc4cccb4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Command.h Thu Oct 20 20:27:04 2011 +0000 @@ -0,0 +1,23 @@ +/**************************************************************/ +// Name: Commande.h +// +// Description: defines a command object for checking and +// executing commands +// +/**************************************************************/ + +#ifndef _COMMAND_H + +#define _COMMAND_H + +#include <string.h> +#include "mbed.h" + +//Serial pc(USBTX, USBRX); // USB Virtual COM + +#endif + +void execute(char* input); +int str2int(char* str); +int hexstr2int(char* str); +void run();