单片机智能小车控制系统(原理图+设计方案) 第2页
acall delaa
setb p0.4
setb p0.5
mov sudu,#07h
ajmp jiance
youzhuan:
clr p0.6
clr p0.7
mov sudu,#05h
acall delaa
setb p0.7
setb p0.6
mov sudu,#07h
ajmp jiance
stop:
acall delay
jnb 25h,zhangai
clr tr0
mov a,fenmi
mov fenmc,a
mov a,#02h
add a,fenmc
mov fenmc,a
here: cjne a,fenmi,here
clr tr1
setb p2.6
acall delaa
setb p2.7
ajmp $
st0:
push acc
push psw
mov th0,#3ch
mov tl0,#0b0h
inc zhond
mov a,#0ah
cjne a,zhond,out
mov zhond,#00h
inc zhodu
mov a,#02h
cjne a,zhodu,miepo
mov point,#0bh
mov zhodu,#00h
inc miao
mov a,#0ah
cjne a,miao,out
mov miao,#00h
inc fmiao
mov a,#06h
cjne a,fmiao,out
mov fmiao,#00h
inc fenzh
mov a,#0ah
cjne a,fenzh,out
mov fenzh,#00h
inc shifn
out:
call xianshi
outb:
pop psw
pop acc
reti
miepo:
mov point,#0ah
ajmp out
st1:
push acc
push psw
inc zhon
mov a,sudu
cjne a,zhon,hig
setb p2.7
ajmp outi
hig:
mov a,#0ah
cjne a,zhon,outi
mov zhon,#00h
www.751com.cn jc youbh
ajmp outb
gao:
setb 20h
ajmp outb
youbh:
inc maicho
mov a,jinweb
cjne a,maicho,outb
mov maicho,#00h
inc bhcs
mov a,#02h
cjne a,bhcs,jici
mov jinweb,#03h
goon:inc limiw
mov a,#0ah
cjne a,limiw,out
mov limiw,#00h
inc fenmi
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >>
单片机智能小车控制系统(原理图+设计方案) 第2页下载如图片无法显示或论文不完整,请联系qq752018766