[an error occurred while processing this directive]
|
// Timer/Counter 1 initialization
// Clock source: System Clock
// Clock value: 1000,000 kHz
// Mode: PWMB top=OCR1C
// OC1A output: Disconnected
// OC1B output: Non-Inv., /OC1B connected
// Timer 1 Overflow Interrupt: Off
// Compare A Match Interrupt: Off
// Compare B Match Interrupt: Off
PLLCSR=0x00;
TCCR1A=0x11;
TCCR1B=0x05;
TCNT1=0x00;
OCR1A=0x00;
OCR1B=0x00;// задовая скважность
OCR1C=0x00;
E-mail: info@telesys.ru