Rev 28 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 28 | Rev 51 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | 14 | ||
15 | 15 | ||
16 | #define setbit |= |
16 | #define setbit |= |
17 | #define clrbit &=~ |
- | |
18 | #define invbit ^= |
- | |
19 | #define ledred 3 //on Port C |
17 | #define clrbit &=~ |
Line -... | Line 18... | ||
- | 18 | #define invbit ^= |
|
- | 19 | #define correction -60 |
|
- | 20 | ||
- | 21 | #define LEDON setbit |
|
- | 22 | #define LEDOFF clrbit |
|
- | 23 | ||
20 | #define ledgreen 7 //on Port D |
24 | #define ledred (1<<3) //on Port C |
21 | #define correction -60 |
25 | #define ledgreen (1<<7) //on Port D |
22 | 26 | ||
23 | #define CH0_B (1<<3) |
27 | #define CH0_B (1<<3) |
24 | #define CH1_B (1<<2) |
28 | #define CH1_B (1<<2) |