11

IR_Def.h

Committer:
lucem1n
Date:
2019-03-25
Revision:
0:66fbd7157480

File content as of revision 0:66fbd7157480:

#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