For now, I am trying using manual delay.
Check whether the Pin B0 is blinking using this code
.include "../tn13Adef.inc"
.cseg
.org 0x00
ldi r16, 0b00000001
out ddrb,r16
loop:
ldi r17,0xff
ldi r18,0xff
sbi PORTB,0
rcall delay
cbi PORTB,0
rcall delay
rjmp loop
delay:
dec r17
brne delay
dec r18
brne delay
ret
yup, it is
No comments:
Post a Comment