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: Headers/CommTCP.h
- Revision:
- 0:c64e1194230b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Headers/CommTCP.h Wed Jul 09 21:16:23 2014 +0000 @@ -0,0 +1,29 @@ +/* + * CommTCP.h + * + * Created on: 07/07/2013 + * Author: Rebonatto + */ +#ifndef COMM_TCP_H +#define COMM_TCP_H + +#include <mbed.h> +#include <rtos.h> + +#include "EthernetInterface.h" + +#include "Settings.h" +#include "EventDetector.h" + +extern void CommTCP_Thread(void const *arg); + +class CommTCP +{ +public: + + static void CommTCP_Thread(void const *arg); + static void RequestAcom(); + static void SendAcom(int tipo,int tomada); +}; + +#endif //#ifndef COMM_TCP_H \ No newline at end of file