![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Versão do protegemed que calcula o tempo em ms da fuga, calcula o numero de onverflow (valores muito baixo) e underflow (valores muito altos). Além disso, calcula um valor médio a partir dos valores capturados e não apenas pela fft.
Dependencies: EthernetInterface mbed-rtos mbed
Diff: Codes/TelnetCommands/telnet_help.cpp
- Revision:
- 0:c64e1194230b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Codes/TelnetCommands/telnet_help.cpp Wed Jul 09 21:16:23 2014 +0000 @@ -0,0 +1,25 @@ + +#include "TelnetServer.h" + + +char *header_msg_help = "This is a list of available commands:\r\n\r\n"; + +int TelnetServer::HelpCommand(TCPSocketConnection *conn, char ** argv,int argc) +{ + printf("Entering help command...\n"); + + conn->send(header_msg_help,strlen(header_msg_help)); + + int i; + for(i=0;(unsigned int)cmds[i].pfn != 0;i++) + { + + Thread::wait(20); + conn->send(cmds[i].command_name,strlen(cmds[i].command_name)); + + //printf("cmd=%s\n",cmds[i].command_name); + conn->send("\r\n",2); + } + + return 0; +} \ No newline at end of file