Rev 1871 | Rev 1886 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1871 | Rev 1874 | ||
|---|---|---|---|
| Line 259... | Line 259... | ||
| 259 | /* Nexa2 Implementation |
259 | /* Nexa2 Implementation |
| 260 | * Receiver: |
260 | * Receiver: |
| 261 | * Transmitter: |
261 | * Transmitter: |
| 262 | */ |
262 | */ |
| 263 | #define IR_PROTO_NEXA2 (10) |
263 | #define IR_PROTO_NEXA2 (10) |
| - | 264 | #define IR_NEXA2_START1 (10000*CYCLES_PER_US/TIMER_PRESC) //us |
|
| 264 | #define |
265 | #define IR_NEXA2_START2 (2500*CYCLES_PER_US/TIMER_PRESC) //us |
| 265 | #define IR_NEXA2_HIGH (320*CYCLES_PER_US/TIMER_PRESC) //us |
266 | #define IR_NEXA2_HIGH (320*CYCLES_PER_US/TIMER_PRESC) //us |
| 266 | #define IR_NEXA2_LOW_ONE (210*CYCLES_PER_US/TIMER_PRESC) //us |
267 | #define IR_NEXA2_LOW_ONE (210*CYCLES_PER_US/TIMER_PRESC) //us |
| 267 | #define IR_NEXA2_LOW_ZERO (1200*CYCLES_PER_US/TIMER_PRESC) //us |
268 | #define IR_NEXA2_LOW_ZERO (1200*CYCLES_PER_US/TIMER_PRESC) //us |
| 268 | #define IR_NEXA2_TIMEOUT ( |
269 | #define IR_NEXA2_TIMEOUT (5) //ms (time between ir frames) |
| 269 | #define IR_NEXA2_REPS ( |
270 | #define IR_NEXA2_REPS (5) // (minimum number of times to repeat code) |
| 270 | #define IR_NEXA2_F_MOD (38) //kHz (modulation frequency) |
271 | #define IR_NEXA2_F_MOD (38) //kHz (modulation frequency) |
| 271 | #define IR_NEXA2_TOL_DIV ( |
272 | #define IR_NEXA2_TOL_DIV (2) |
| 272 | 273 | ||
| 273 | 274 | ||
| 274 | #define IR_PROTO_HASH 0xfe |
275 | #define IR_PROTO_HASH 0xfe |
| 275 | #define IR_PROTO_UNKNOWN 0xff // |
276 | #define IR_PROTO_UNKNOWN 0xff // |
| 276 | 277 | ||