[an error occurred while processing this directive]
|
.include "tn26def.inc"
.def temp = R16
.cseg
.org 0
ldi temp,$FF
out DDRB, temp
ldi temp,0
out PLLCSR, temp
ldi temp,(1 << COM1B1)+(1 << COM1B0)
out TCCR1A, temp
ldi temp,1 << CS10
out TCCR1B, temp
clr temp
out TCNT1,temp
out OCR1A,temp
ldi temp, 0x03
out OCR1B, temp
ldi temp, 0x09
out OCR1C, temp
in temp,TCCR1A
ori temp, 1 << PWM1B
out TCCR1A, temp
loop:
rjmp loop
E-mail: info@telesys.ru