Rev 361 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 361 | Rev 408 | ||
|---|---|---|---|
| Line 11... | Line 11... | ||
| 11 | /*----------------------------------------------------------------------------- |
11 | /*----------------------------------------------------------------------------- |
| 12 | * Defines |
12 | * Defines |
| 13 | *---------------------------------------------------------------------------*/ |
13 | *---------------------------------------------------------------------------*/ |
| 14 | /* Enable timer2 if you want to use as many PWM outputs as possible */ |
14 | /* Enable timer2 if you want to use as many PWM outputs as possible */ |
| 15 | #define TIMER2 |
15 | #define TIMER2 |
| - | 16 | ||
| - | 17 | // Uncomment the following line to test the improved timebase implementation |
|
| - | 18 | //#define TIMEBASE_NEW_IMPLEMENTATION |
|
| 16 | 19 | ||
| 17 | #define TIMEBASE_PRESCALE (64) |
20 | #define TIMEBASE_PRESCALE (64) |
| 18 | #define TIMEBASE_HITS_PER_1MS (F_CPU/TIMEBASE_PRESCALE/1000) |
21 | #define TIMEBASE_HITS_PER_1MS (F_CPU/TIMEBASE_PRESCALE/1000) |
| 19 | 22 | ||
| 20 | #if TIMEBASE_HITS_PER_1MS > 255 |
23 | #if TIMEBASE_HITS_PER_1MS > 255 |