a command line interface that can dynamically assign pins
Dependencies: TextLCD mbed PS2
Command.h
- Committer:
- gsulc
- Date:
- 2011-10-20
- Revision:
- 0:4b04cc4cccb4
File content as of revision 0:4b04cc4cccb4:
/**************************************************************/ // 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();