electonicsproject
Banned
Here is code for blinking led
how to calculate time in sec when osc is at 11.0592
org 0000h
main:
mov P0,0xff
call delay
mov p0,0x00
call delay
jmp main
delay:
mov R0,#200
l3: mov R1,#200
l2:mov R2,#10
l1:djnz R2,l1
djnz R1,l2
djnz R0,l3
ret
END
how to calculate time in sec when osc is at 11.0592
org 0000h
main:
mov P0,0xff
call delay
mov p0,0x00
call delay
jmp main
delay:
mov R0,#200
l3: mov R1,#200
l2:mov R2,#10
l1:djnz R2,l1
djnz R1,l2
djnz R0,l3
ret
END