teste de publish
Dependencies: DS1820 HighSpeedAnalogIn devices mbed
IRPack.h
- Committer:
- brunofgc
- Date:
- 2018-06-08
- Revision:
- 38:07d3907b74e5
- Parent:
- 24:302707175ef3
File content as of revision 38:07d3907b74e5:
#ifndef _IRPack_h_ #define _IRPack_h_ #include "mbed.h" #include "modem.h" #include "main.h" #include <math.h> #include "CircularBuffer.h" #define maxBitsMsg 128 extern PwmOut IrOut; extern DigitalIn IrIn; extern Timer IrTmr; extern Timer IrDetect; extern uint16_t bits[maxBitsMsg*4][2]; extern CircularBuffer bufIROut; void enviaComandoIR(uint8_t,uint8_t); void pesquisaIRIn(); void serializaPacoteIR(uint8_t connectionID); void deserializaPacoteIR(char *); bool detectaIRIn(); #endif