Subversion Repositories HomeAutomation

Rev

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

Rev 1904 Rev 1906
Line 280... Line 280...
280
/* Nexa1 Implementation
280
/* Nexa1 Implementation
281
 * Receiver:
281
 * Receiver:
282
 * Transmitter:
282
 * Transmitter:
283
 */
283
 */
284
#define IR_PROTO_NEXA1      (11)
284
#define IR_PROTO_NEXA1      (11)
-
 
285
#define IR_NEXA1_START      (10000*CYCLES_PER_US/TIMER_PRESC)   //us
285
#define IR_NEXA1_SHORT      (320*CYCLES_PER_US/TIMER_PRESC)     //us
286
#define IR_NEXA1_SHORT      (370*CYCLES_PER_US/TIMER_PRESC)     //us
286
#define IR_NEXA1_LONG       (210*CYCLES_PER_US/TIMER_PRESC)     //us
287
#define IR_NEXA1_LONG       (1050*CYCLES_PER_US/TIMER_PRESC)    //us
287
#define IR_NEXA1_TIMEOUT    (5)                                 //ms    (time between ir frames)
288
#define IR_NEXA1_TIMEOUT    (5)                                 //ms    (time between ir frames)
288
#define IR_NEXA1_REPS       (5)                                 //      (minimum number of times to repeat code)
289
#define IR_NEXA1_REPS       (4)                                 //      (minimum number of times to repeat code)
289
#define IR_NEXA1_F_MOD      (38)                                //kHz   (modulation frequency)
290
#define IR_NEXA1_F_MOD      (38)                                //kHz   (modulation frequency)
290
#define IR_NEXA1_TOL_DIV    (2)
291
#define IR_NEXA1_TOL_DIV    (2)
291
 
292
 
292
 
293
 
293
#define IR_PROTO_HASH       0xfe
294
#define IR_PROTO_HASH       0xfe