cleanup comments
This commit is contained in:
parent
9b486c68e2
commit
0bf2830b30
8
main.c
8
main.c
@ -87,12 +87,12 @@ int main(void)
|
|||||||
/* timer0: running with F_CPU/1024 */
|
/* timer0: running with F_CPU/1024 */
|
||||||
TCCR0 = (1<<CS02) | (1<<CS00);
|
TCCR0 = (1<<CS02) | (1<<CS00);
|
||||||
|
|
||||||
/* timer1: running with F_CPU, 8bit Fast PWM (32kHz) */
|
/* timer1: running with F_CPU, 8bit Phase Correct PWM (16kHz) */
|
||||||
TCCR1B = (1<<CS10);// | (1<<WGM12);
|
TCCR1B = (1<<CS10);
|
||||||
TCCR1A = (1<<WGM10);
|
TCCR1A = (1<<WGM10);
|
||||||
|
|
||||||
/* timer2: running with F_CPU, 8bit Fast PWM (32kHz) */
|
/* timer2: running with F_CPU, 8bit Phase Correct PWM (16kHz) */
|
||||||
TCCR2 = (1<<WGM20) | (1<<CS20);// | (1<<WGM21);
|
TCCR2 = (1<<WGM20) | (1<<CS20);
|
||||||
|
|
||||||
/* enable Timer0 OVF Interrupt */
|
/* enable Timer0 OVF Interrupt */
|
||||||
TIMSK = (1<<TOIE0); // | (1<<OCIE2); // | (1<<TOIE2)
|
TIMSK = (1<<TOIE0); // | (1<<OCIE2); // | (1<<TOIE2)
|
||||||
|
Loading…
Reference in New Issue
Block a user