Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: IR_Def.h
- Revision:
- 0:dc689f01feb2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IR_Def.h Sat Mar 09 00:51:21 2013 +0000 @@ -0,0 +1,22 @@ +/*Vinod Modhe*/ +/* 4180 Lab3 */ + +#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