Vinod Modhe / Mbed 2 deprecated IR_Remote

Dependencies:   mbed

Committer:
vin_jm
Date:
Sat Mar 09 00:51:21 2013 +0000
Revision:
0:dc689f01feb2
Rev.1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vin_jm 0:dc689f01feb2 1 /*Vinod Modhe*/
vin_jm 0:dc689f01feb2 2 /* 4180 Lab3 */
vin_jm 0:dc689f01feb2 3
vin_jm 0:dc689f01feb2 4 #ifndef IR_DEF_H
vin_jm 0:dc689f01feb2 5 #define IR_DEF_H
vin_jm 0:dc689f01feb2 6
vin_jm 0:dc689f01feb2 7 //IR Timing
vin_jm 0:dc689f01feb2 8 //UL => Upper Tolerance Limit; LL => Lower Tolerance Limit
vin_jm 0:dc689f01feb2 9 #define IR_9000us_UL (9500)
vin_jm 0:dc689f01feb2 10 #define IR_9000us_LL (8500)
vin_jm 0:dc689f01feb2 11 #define IR_4500us_UL (5000)
vin_jm 0:dc689f01feb2 12 #define IR_4500us_LL (4000)
vin_jm 0:dc689f01feb2 13 #define IR_2250us_UL (2500)
vin_jm 0:dc689f01feb2 14 #define IR_2250us_LL (2000)
vin_jm 0:dc689f01feb2 15 #define IR_1_UL_us (2500)
vin_jm 0:dc689f01feb2 16 #define IR_1_LL_us (2000)
vin_jm 0:dc689f01feb2 17 #define IR_0_UL_us (1500)
vin_jm 0:dc689f01feb2 18 #define IR_0_LL_us (1000)
vin_jm 0:dc689f01feb2 19 #define IR_rep_timeout_ms (135) //In NEC protocol, a 110ms interval exists between any two commands and/or repeat pulses.
vin_jm 0:dc689f01feb2 20 //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.
vin_jm 0:dc689f01feb2 21
vin_jm 0:dc689f01feb2 22 #endif