Subversion Repositories Projects

Rev

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 &=~
17
#define clrbit &=~
18
#define invbit ^=
18
#define invbit ^=
19
#define ledred          3       //on Port C
-
 
20
#define ledgreen        7       //on Port D
-
 
21
#define correction      -60
19
#define correction      -60
22
 
20
 
-
 
21
#define LEDON   setbit
-
 
22
#define LEDOFF  clrbit
-
 
23
 
-
 
24
#define ledred          (1<<3)  //on Port C
-
 
25
#define ledgreen        (1<<7)  //on Port D
-
 
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)
25
#define CH2_B   (1<<1)
29
#define CH2_B   (1<<1)
26
#define CH3_D   (1<<3)
30
#define CH3_D   (1<<3)
27
#define CH4_D   (1<<4)
31
#define CH4_D   (1<<4)