11
Diff: IR_Def.h
- Revision:
- 0:66fbd7157480
diff -r 000000000000 -r 66fbd7157480 IR_Def.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IR_Def.h Mon Mar 25 12:09:37 2019 +0000 @@ -0,0 +1,19 @@ +#ifndef IR_DEF_H +#define IR_DEF_H + +//IR Timing +//UL => Upper Tolerance Limit; LL => Lower Tolerance Limit +#define IR_9000us_UL (9500) +#define IR_9000us_LL (8500) +#define IR_4500us_UL (5000) +#define IR_4500us_LL (4000) +#define IR_2250us_UL (2500) +#define IR_2250us_LL (2000) +#define IR_1_UL_us (2500) +#define IR_1_LL_us (2000) +#define IR_0_UL_us (1500) +#define IR_0_LL_us (1000) +#define IR_rep_timeout_ms (135) //In NEC protocol, a 110ms interval exists between any two commands and/or repeat pulses. + //If any repeat pulse is received later than 135msec after the last command or repeat pulse, it is to be ignored, as it will be erroneous. + +#endif \ No newline at end of file