a command line interface that can dynamically assign pins
Dependencies: TextLCD mbed PS2
Command.h
00001 /**************************************************************/ 00002 // Name: Commande.h 00003 // 00004 // Description: defines a command object for checking and 00005 // executing commands 00006 // 00007 /**************************************************************/ 00008 00009 #ifndef _COMMAND_H 00010 00011 #define _COMMAND_H 00012 00013 #include <string.h> 00014 #include "mbed.h" 00015 00016 //Serial pc(USBTX, USBRX); // USB Virtual COM 00017 00018 #endif 00019 00020 void execute(char* input); 00021 int str2int(char* str); 00022 int hexstr2int(char* str); 00023 void run();
Generated on Wed Jul 20 2022 01:09:21 by 1.7.2