Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 270 → Rev 271

/branches/V0.64_ZeroWarnings/timer0.c
90,7 → 90,7
TCCR0A = (1<<COM0A1)|(1<<COM0B1)|3;//fast PWM
OCR0A = 0;
OCR0B = 120;
TCNT0 = -TIMER_RELOAD_VALUE; // reload
TCNT0 = (unsigned char)-TIMER_RELOAD_VALUE; // reload
//OCR1 = 0x00;
 
TCCR2A=(1<<COM2A1)|(1<<COM2A0)|3;