teste de publish

Dependencies:   DS1820 HighSpeedAnalogIn devices mbed

Revision:
0:1c0a769988ee
Child:
6:d4ebbaaba295
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/IRPack.h	Fri Mar 24 15:54:41 2017 +0000
@@ -0,0 +1,25 @@
+#ifndef _IRPack_h_
+#define _IRPack_h_
+
+#include "mbed.h"
+#include "modem.h"
+#include "main.h"
+#include <math.h>
+#include "CircularBuffer.h"
+#define maxBitsMsg 256
+extern PwmOut IrOut;
+extern DigitalIn IrIn;
+extern Timer IrTmr;
+extern Timer IrDetect;
+extern uint16_t bits[maxBitsMsg*2][2];
+extern CircularBuffer bufIROut;
+
+
+
+void enviaComandoIR(uint8_t,uint8_t);
+void pesquisaIRIn();
+void serializaPacoteIR(uint8_t connectionID);
+void deserializaPacoteIR(char *);
+bool detectaIRIn();
+
+#endif
\ No newline at end of file