teste de publish
Dependencies: DS1820 HighSpeedAnalogIn devices mbed
IRPack.h@38:07d3907b74e5, 2018-06-08 (annotated)
- Committer:
- brunofgc
- Date:
- Fri Jun 08 22:14:21 2018 +0000
- Revision:
- 38:07d3907b74e5
- Parent:
- 24:302707175ef3
teste de publish para compilar no mbed-cli
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
brunofgc | 0:1c0a769988ee | 1 | #ifndef _IRPack_h_ |
brunofgc | 0:1c0a769988ee | 2 | #define _IRPack_h_ |
brunofgc | 0:1c0a769988ee | 3 | |
brunofgc | 0:1c0a769988ee | 4 | #include "mbed.h" |
brunofgc | 0:1c0a769988ee | 5 | #include "modem.h" |
brunofgc | 0:1c0a769988ee | 6 | #include "main.h" |
brunofgc | 0:1c0a769988ee | 7 | #include <math.h> |
brunofgc | 0:1c0a769988ee | 8 | #include "CircularBuffer.h" |
brunofgc | 24:302707175ef3 | 9 | #define maxBitsMsg 128 |
brunofgc | 0:1c0a769988ee | 10 | extern PwmOut IrOut; |
brunofgc | 0:1c0a769988ee | 11 | extern DigitalIn IrIn; |
brunofgc | 0:1c0a769988ee | 12 | extern Timer IrTmr; |
brunofgc | 0:1c0a769988ee | 13 | extern Timer IrDetect; |
brunofgc | 24:302707175ef3 | 14 | extern uint16_t bits[maxBitsMsg*4][2]; |
brunofgc | 0:1c0a769988ee | 15 | extern CircularBuffer bufIROut; |
brunofgc | 0:1c0a769988ee | 16 | |
brunofgc | 0:1c0a769988ee | 17 | |
brunofgc | 0:1c0a769988ee | 18 | |
brunofgc | 6:d4ebbaaba295 | 19 | |
brunofgc | 0:1c0a769988ee | 20 | void enviaComandoIR(uint8_t,uint8_t); |
brunofgc | 0:1c0a769988ee | 21 | void pesquisaIRIn(); |
brunofgc | 0:1c0a769988ee | 22 | void serializaPacoteIR(uint8_t connectionID); |
brunofgc | 0:1c0a769988ee | 23 | void deserializaPacoteIR(char *); |
brunofgc | 0:1c0a769988ee | 24 | bool detectaIRIn(); |
brunofgc | 0:1c0a769988ee | 25 | |
brunofgc | 0:1c0a769988ee | 26 | #endif |