文件名称:StepMotor
介绍说明--下载内容来自于网络,使用问题请自行百度
ORG 00H
START: MOV DPTR,#TAB1
MOV R0,#03
MOV R4,#0
MOV P1,#3
WAIT: MOV P1,R0 初始角度,0度
MOV P0,#0FFH
JNB P0.0,POS 判断键盘状态
JNB P0.1,NEG
SJMP WAIT
JUST: JB P0.1,NEG 首次按键处理
POS: MOV A,R4 正转9度
MOVC A,@A+DPTR
MOV P1,A
ACALL DELAY
INC R4
AJMP KEY
NEG: MOV R4,#6 反转9度
MOV A,R4
MOVC A,@A+DPTR
MOV P1,A
ACALL DELAY
AJMP KEY-dfad
START: MOV DPTR,#TAB1
MOV R0,#03
MOV R4,#0
MOV P1,#3
WAIT: MOV P1,R0 初始角度,0度
MOV P0,#0FFH
JNB P0.0,POS 判断键盘状态
JNB P0.1,NEG
SJMP WAIT
JUST: JB P0.1,NEG 首次按键处理
POS: MOV A,R4 正转9度
MOVC A,@A+DPTR
MOV P1,A
ACALL DELAY
INC R4
AJMP KEY
NEG: MOV R4,#6 反转9度
MOV A,R4
MOVC A,@A+DPTR
MOV P1,A
ACALL DELAY
AJMP KEY-dfad
(系统自动生成,下载前可以参看下载内容)
下载文件列表
70 Step Motor/Last Loaded Step Motor.DBK
70 Step Motor/Step Motor
70 Step Motor/Step Motor.asm
70 Step Motor/Step Motor.DSN
70 Step Motor/Step Motor.hex
70 Step Motor/Step Motor.lnp
70 Step Motor/Step Motor.LST
70 Step Motor/Step Motor.M51
70 Step Motor/Step Motor.OBJ
70 Step Motor/Step Motor.Opt
70 Step Motor/Step Motor.plg
70 Step Motor/Step Motor.PWI
70 Step Motor/Step Motor.Uv2
70 Step Motor/Step Motor_Opt.Bak
70 Step Motor/Step Motor_Uv2.Bak
70 Step Motor/Text3l.asm
70 Step Motor/Text3l.LST
70 Step Motor/Text3l.OBJ
70 Step Motor
70 Step Motor/Step Motor
70 Step Motor/Step Motor.asm
70 Step Motor/Step Motor.DSN
70 Step Motor/Step Motor.hex
70 Step Motor/Step Motor.lnp
70 Step Motor/Step Motor.LST
70 Step Motor/Step Motor.M51
70 Step Motor/Step Motor.OBJ
70 Step Motor/Step Motor.Opt
70 Step Motor/Step Motor.plg
70 Step Motor/Step Motor.PWI
70 Step Motor/Step Motor.Uv2
70 Step Motor/Step Motor_Opt.Bak
70 Step Motor/Step Motor_Uv2.Bak
70 Step Motor/Text3l.asm
70 Step Motor/Text3l.LST
70 Step Motor/Text3l.OBJ
70 Step Motor
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.