Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 29 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | volatile unsigned char UpdateMotor = 0; |
5 | volatile unsigned char UpdateMotor = 0; |
6 | volatile unsigned int cntKompass = 0; |
6 | volatile unsigned int cntKompass = 0; |
7 | volatile unsigned int beeptime = 0; |
7 | volatile unsigned int beeptime = 0; |
8 | int ServoValue = 0; |
8 | int ServoValue = 0; |
Line -... | Line 9... | ||
- | 9 | ||
- | 10 | ||
- | 11 | ||
- | 12 | ||
9 | 13 | ||
10 | enum { |
14 | enum { |
11 | STOP = 0, |
15 | STOP = 0, |
12 | CK = 1, |
16 | CK = 1, |
13 | CK8 = 2, |
17 | CK8 = 2, |
Line 19... | Line 23... | ||
19 | }; |
23 | }; |
Line 20... | Line 24... | ||
20 | 24 | ||
21 | 25 | ||
- | 26 | SIGNAL (SIG_OVERFLOW0) // 8kHz |
|
22 | SIGNAL (SIG_OVERFLOW0) // 8kHz |
27 | { |
23 | { |
28 | Blinki++; |
Line 24... | Line 29... | ||
24 | static unsigned char cnt_1ms = 1,cnt = 0; |
29 | static unsigned char cnt_1ms = 1,cnt = 0; |
25 | // TCNT0 -= 250;//TIMER_RELOAD_VALUE; |
30 | // TCNT0 -= 250;//TIMER_RELOAD_VALUE; |