图2,5 配置超级终端
2.5.2 超级终端命令COMMAND CommandList[MAX_COMMAND_NUM]= {
{"help",Help," help -----Command help"},
{"set",Set," set ----- Change LED or Count"},
{"display",Display,"display ----- Display LED Count Voltage"},
{"reboot",Reboot," reboot----- Reboot the MCU"},
}; //指令;指令函数;帮助;
voidRunHyperTerminal()
{
if(ExecCommandFlag)
{
ExecCommand(&SerialBuffer[0]);
SerialSendStr(&PromptBuffer[0]);
memset(&SerialBuffer[0],'