Subversion Repositories HomeAutomation

Rev

Rev 920 | Rev 993 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 920 Rev 923
Line 96... Line 96...
96
#define IR_MIN_PULSE_WIDTH  5                                   //us
96
#define IR_MIN_PULSE_WIDTH  5                                   //us
97
#define IR_MAX_PULSE_WIDTH  12000                               //us
97
#define IR_MAX_PULSE_WIDTH  12000                               //us
98
 
98
 
99
/* RC5 Implementation
99
/* RC5 Implementation
100
 * Receiver: DONE
100
 * Receiver: DONE
101
 * Transmitter: DONE (noddan implentation, not fully working)
101
 * Transmitter: DONE
102
 */
102
 */
103
#define IR_PROTO_RC5        0
103
#define IR_PROTO_RC5        0
104
#define IR_RC5_HALF_BIT     889*CYCLES_PER_US/TIMER_PRESC       //us
104
#define IR_RC5_HALF_BIT     889*CYCLES_PER_US/TIMER_PRESC       //us
105
#define IR_RC5_BIT          889*2*CYCLES_PER_US/TIMER_PRESC     //us
105
#define IR_RC5_BIT          889*2*CYCLES_PER_US/TIMER_PRESC     //us
106
#define IR_RC5_TIMEOUT      105                                 //ms    (time between ir frames)
106
#define IR_RC5_TIMEOUT      105                                 //ms    (time between ir frames)