Rev 1588 | Rev 1716 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1588 | Rev 1715 | ||
|---|---|---|---|
| Line 159... | Line 159... | ||
| 159 | #define IR_SIRC_ST_BIT 2400*CYCLES_PER_US/TIMER_PRESC //us |
159 | #define IR_SIRC_ST_BIT 2400*CYCLES_PER_US/TIMER_PRESC //us |
| 160 | #define IR_SIRC_LOW 600*CYCLES_PER_US/TIMER_PRESC //us |
160 | #define IR_SIRC_LOW 600*CYCLES_PER_US/TIMER_PRESC //us |
| 161 | #define IR_SIRC_HIGH_ONE 1200*CYCLES_PER_US/TIMER_PRESC //us |
161 | #define IR_SIRC_HIGH_ONE 1200*CYCLES_PER_US/TIMER_PRESC //us |
| 162 | #define IR_SIRC_HIGH_ZERO 600*CYCLES_PER_US/TIMER_PRESC //us |
162 | #define IR_SIRC_HIGH_ZERO 600*CYCLES_PER_US/TIMER_PRESC //us |
| 163 | #define IR_SIRC_TIMEOUT 40 //ms (time between ir frames) |
163 | #define IR_SIRC_TIMEOUT 40 //ms (time between ir frames) |
| 164 | #define IR_SIRC_REPS |
164 | #define IR_SIRC_REPS 3 // (minimum number of times to repeat code) |
| 165 | #define IR_SIRC_F_MOD 40 //kHz (modulation frequency) |
165 | #define IR_SIRC_F_MOD 40 //kHz (modulation frequency) |
| 166 | #define IR_SIRC_TOL_DIV 4 |
166 | #define IR_SIRC_TOL_DIV 4 |
| 167 | 167 | ||
| 168 | /* Sharp Implementation |
168 | /* Sharp Implementation |
| 169 | * Receiver: DONE |
169 | * Receiver: DONE |