Цитата(Палыч @ May 23 2008, 18:35)

Наверное, потому, что в выбранном Вами режиме работы таймера TOP= OCR1A
А какой тогда регистр для сравнения?
Цитата
In non-inverting compare output mode, the output compare (OC1x) is cleared on
the compare match between TCNT1 and OCR1x while upcounting, and set on the compare
match while downcounting.
Всё, разобрался.
Спасибо за совет!
Код
#include <iom8.h>
#include <intrinsics.h>
#define COM1A1 BIT7
#define COM1A0 BIT6
#define WGM11 BIT1
#define WGM10 BIT0
#define WGM13 BIT4
#define WGM12 BIT3
#define CS10 BIT0
#define CS11 BIT1
#define CS12 BIT2
int main()
{
DDRB = BIT1;
TCCR1A = COM1A1 + COM1A0;
TCCR1B = WGM13 + CS10;
OCR1A = 0xFF;
ICR1 = 0xFFFF;
while(1);
}
Сообщение отредактировал proof - May 23 2008, 15:43