Rev 31 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 31 | Rev 40 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | #define PWM_A_ON {TCCR1A = 0xA1; TCCR2 = 0x69; DDRB = 0x08;} |
17 | #define PWM_A_ON {TCCR1A = 0xA1; TCCR2 = 0x69; DDRB = 0x08;} |
18 | #define PWM_OFF {TCCR1A = 0x01; TCCR2 = 0x49; PORTC &= ~0x0E;} |
18 | #define PWM_OFF {TCCR1A = 0x01; TCCR2 = 0x49; PORTC &= ~0x0E;} |
19 | #endif |
19 | #endif |
Line 20... | Line 20... | ||
20 | 20 | ||
21 | #ifdef _16KHZ |
21 | #ifdef _16KHZ |
22 | #define PWM_C_ON {TCCR1A = 0xA1; TCCR2 = 0x41; DDRB = 0x0A;} |
22 | #define PWM_C_ON {TCCR1A = 0xA2; TCCR2 = 0x41; DDRB = 0x0A;} |
23 | #define PWM_B_ON {TCCR1A = 0xA1; TCCR2 = 0x41; DDRB = 0x0C;} |
23 | #define PWM_B_ON {TCCR1A = 0xA2; TCCR2 = 0x41; DDRB = 0x0C;} |
24 | #define PWM_A_ON {TCCR1A = 0xA1; TCCR2 = 0x61; DDRB = 0x08;} |
24 | #define PWM_A_ON {TCCR1A = 0xA2; TCCR2 = 0x61; DDRB = 0x08;} |
25 | #define PWM_OFF {TCCR1A = 0x01; TCCR2 = 0x41; PORTC &= ~0x0E;} |
25 | #define PWM_OFF {TCCR1A = 0x02; TCCR2 = 0x41; PORTC &= ~0x0E;} |
Line 26... | Line 26... | ||
26 | #endif |
26 | #endif |
27 | 27 |