a command line interface that can dynamically assign pins

Dependencies:   TextLCD mbed PS2

Committer:
gsulc
Date:
Thu Oct 20 20:27:04 2011 +0000
Revision:
0:4b04cc4cccb4

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gsulc 0:4b04cc4cccb4 1 /**************************************************************/
gsulc 0:4b04cc4cccb4 2 // Name: Commande.h
gsulc 0:4b04cc4cccb4 3 //
gsulc 0:4b04cc4cccb4 4 // Description: defines a command object for checking and
gsulc 0:4b04cc4cccb4 5 // executing commands
gsulc 0:4b04cc4cccb4 6 //
gsulc 0:4b04cc4cccb4 7 /**************************************************************/
gsulc 0:4b04cc4cccb4 8
gsulc 0:4b04cc4cccb4 9 #ifndef _COMMAND_H
gsulc 0:4b04cc4cccb4 10
gsulc 0:4b04cc4cccb4 11 #define _COMMAND_H
gsulc 0:4b04cc4cccb4 12
gsulc 0:4b04cc4cccb4 13 #include <string.h>
gsulc 0:4b04cc4cccb4 14 #include "mbed.h"
gsulc 0:4b04cc4cccb4 15
gsulc 0:4b04cc4cccb4 16 //Serial pc(USBTX, USBRX); // USB Virtual COM
gsulc 0:4b04cc4cccb4 17
gsulc 0:4b04cc4cccb4 18 #endif
gsulc 0:4b04cc4cccb4 19
gsulc 0:4b04cc4cccb4 20 void execute(char* input);
gsulc 0:4b04cc4cccb4 21 int str2int(char* str);
gsulc 0:4b04cc4cccb4 22 int hexstr2int(char* str);
gsulc 0:4b04cc4cccb4 23 void run();