|
а вообще вот мои настройки (м128 правда, ну и другой канал сравнения)
ldi temporary1,high(RTC_data_word_T1)
out ocr1bh,temporary1
ldi temporary1,low(RTC_data_word_T1)
out ocr1bl,temporary1out tcnt1h,zero_reg
out tcnt1l,zero_regldi temporary1,1<
out timsk,temporary1 out tccr1a,zero_reg
ldi temporary1,RTC_set_on_word_T1 ;0b00000011
out tccr1b,temporary1
E-mail: info@telesys.ru