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

Committer:
rebonatto
Date:
Mon Jul 21 00:58:34 2014 +0000
Revision:
2:86c3cb25577b
Parent:
0:c64e1194230b
Problemas com objeto para aquisi??o da rfid (serial)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rebonatto 0:c64e1194230b 1 #include "TelnetServer.h"
rebonatto 0:c64e1194230b 2
rebonatto 0:c64e1194230b 3 extern "C" void mbed_reset();
rebonatto 0:c64e1194230b 4
rebonatto 0:c64e1194230b 5 char *header_msg_reset = "Resetting...";
rebonatto 0:c64e1194230b 6
rebonatto 0:c64e1194230b 7
rebonatto 0:c64e1194230b 8 int TelnetServer::ResetCommand(TCPSocketConnection *conn,char** argv,int argc)
rebonatto 0:c64e1194230b 9 {
rebonatto 0:c64e1194230b 10
rebonatto 0:c64e1194230b 11 conn->send(header_msg_reset,strlen(header_msg_reset));
rebonatto 0:c64e1194230b 12
rebonatto 0:c64e1194230b 13 conn->close();
rebonatto 0:c64e1194230b 14
rebonatto 0:c64e1194230b 15 delete conn;
rebonatto 0:c64e1194230b 16
rebonatto 0:c64e1194230b 17 mbed_reset();
rebonatto 0:c64e1194230b 18
rebonatto 0:c64e1194230b 19 return 0;
rebonatto 0:c64e1194230b 20 }