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:
Wed Jul 09 21:16:23 2014 +0000
Revision:
0:c64e1194230b
Vers?o do Protegemed com calculo de tempo de fuga, overflow, underflow e novo valor m?dio (manual).

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rebonatto 0:c64e1194230b 1 #include "mbed.h"
rebonatto 0:c64e1194230b 2 #include "rtos.h"
rebonatto 0:c64e1194230b 3
rebonatto 0:c64e1194230b 4 #include "EthernetInterface.h"
rebonatto 0:c64e1194230b 5
rebonatto 0:c64e1194230b 6
rebonatto 0:c64e1194230b 7
rebonatto 0:c64e1194230b 8
rebonatto 0:c64e1194230b 9 class TftpServer
rebonatto 0:c64e1194230b 10 {
rebonatto 0:c64e1194230b 11
rebonatto 0:c64e1194230b 12 public:
rebonatto 0:c64e1194230b 13
rebonatto 0:c64e1194230b 14 static void TftpServerThread(void const *arg);
rebonatto 0:c64e1194230b 15
rebonatto 0:c64e1194230b 16 static void TftpDoRead(Endpoint remote,char *buffer,int length);
rebonatto 0:c64e1194230b 17 static void TftpDoWrite(Endpoint remote,char *buffer,int length);
rebonatto 0:c64e1194230b 18
rebonatto 0:c64e1194230b 19 };