Rev 2244 | Rev 2254 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 2244 | Rev 2246 | ||
|---|---|---|---|
| Line 307... | Line 307... | ||
| 307 | * Transmitter: DONE |
307 | * Transmitter: DONE |
| 308 | */ |
308 | */ |
| 309 | #define IR_IROBOT_ST_BIT (2800*CYCLES_PER_US/TIMER_PRESC) //us |
309 | #define IR_IROBOT_ST_BIT (2800*CYCLES_PER_US/TIMER_PRESC) //us |
| 310 | #define IR_IROBOT_SHORT (1000*CYCLES_PER_US/TIMER_PRESC) //us |
310 | #define IR_IROBOT_SHORT (1000*CYCLES_PER_US/TIMER_PRESC) //us |
| 311 | #define IR_IROBOT_LONG (3000*CYCLES_PER_US/TIMER_PRESC) //us |
311 | #define IR_IROBOT_LONG (3000*CYCLES_PER_US/TIMER_PRESC) //us |
| 312 | #define IR_IROBOT_TIMEOUT |
312 | #define IR_IROBOT_TIMEOUT 30 //ms (time between ir frames) |
| 313 | #define IR_IROBOT_REPS ( |
313 | #define IR_IROBOT_REPS (6) // (minimum number of times to repeat code) |
| 314 | #define IR_IROBOT_F_MOD (40) //kHz (modulation frequency) |
314 | #define IR_IROBOT_F_MOD (40) //kHz (modulation frequency) |
| 315 | #define IR_IROBOT_TOL_DIV (4) |
315 | #define IR_IROBOT_TOL_DIV (4) |
| 316 | 316 | ||
| 317 | 317 | ||
| 318 | /* Nexa2 Implementation |
318 | /* Nexa2 Implementation |