Rockyvud
Newbie level 3
I have been trying to control a light bulb through computer interface and usign 8051 microcontroller.I think i am wrong somewhere in microcontroller programming,can someone tell me where? following is the program
org 00h
mov p2,#00H
mov tmod,#20H
mov scon,#50H
mov th1,#
setb tr1
scan:
jnb ri,$
mov p2,sbuf
clr ri
jmp scan
end,
org 00h
mov p2,#00H
mov tmod,#20H
mov scon,#50H
mov th1,#
setb tr1
scan:
jnb ri,$
mov p2,sbuf
clr ri
jmp scan
end,