Rev 1543 | Rev 1565 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1543 | Rev 1561 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | T0_FALLING_EDGE = 6, |
24 | T0_FALLING_EDGE = 6, |
25 | T0_RISING_EDGE = 7 |
25 | T0_RISING_EDGE = 7 |
26 | }; |
26 | }; |
Line 27... | Line 27... | ||
27 | 27 | ||
28 | 28 | ||
29 | SIGNAL (SIG_OVERFLOW0) // 9,7kHz |
29 | ISR(TIMER0_OVF_vect) // 9,7kHz |
30 | { |
30 | { |
31 | static unsigned char cnt_1ms = 1,cnt = 0; |
31 | static unsigned char cnt_1ms = 1,cnt = 0; |
32 | unsigned char pieper_ein = 0; |
32 | unsigned char pieper_ein = 0; |