代码搜索结果
找到约 7,992 项符合
Motor 的代码
dc motor.asm
ADC EQU 35H
CLOCK BIT P2.4 ;定义ADC0808时钟位
ST BIT P2.5
EOC BIT P2.6
OE BIT P2.7
PWM BIT P3.7
ORG 00H
SJMP START
ORG 0BH
LJMP INT_T0
START: MOV TMOD,#02H ;
MOV
step motor.asm
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,N
motor.rc2
//
// MOTOR.RC2 - resources Microsoft Visual C++ does not edit directly
//
#ifdef APSTUDIO_INVOKED
#error this file is not editable by Microsoft Visual C++
#endif //APSTUDIO_INVOKED
/////
step_motor.txt
#include
static unsigned int count; //计数
static int step_index; //步进索引数,值为0-7
static bit turn; //步进电机转动方向
static bit stop_flag; //步进电机停止标志
static int speedlevel; //步进电机转速参数,数
motor_test.mdl
Model {
Name "motor_test"
Version 6.1
MdlSubVersion 0
GraphicalInterface {
NumRootInports 0
NumRootOutports 0
ParameterArgumentNames ""
ComputedModel
setp_motor.vhd
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_arith.all;
use IEEE.std_logic_unsigned.all;
entity step_motor is
port (reset:in STD_LOGIC; --system reset signal
dir: in STD
dc motor.plg
礦ision3 Build Log
Project:
E:\Program Files\Labcenter Electronics\Proteus 6 Demonstration(2)\69 DC Motor\DC Motor.uv2
Project File Date: 08/07/2006