代码搜索结果
找到约 7,992 项符合
Motor 的代码
motor_dri.c
#pragma small
#include "reg66x.h"
#include "motor_dri.h"
#include "electromotion.h"
//电机驱动器设定:400步一圈,单脉冲方式,半电流,输出电流选择最大。
unsigned int motor_degree[5]={2048,1024,512,384,340}; //五级变速调控
bi
motor_control.vhd
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
USE IEEE.STD_LOGIC_ARITH.ALL;
USE IEEE.STD_LOGIC_UNSIGNED.ALL;
ENTITY motor_control IS
PORT (clock_1khz : IN STD_LOGIC;
lmotor_dir, rmoto
motor.dp2
Motor.o: C:/icc/include/io8535v.h C:/icc/include/macros.h C:/icc/include/eeprom.h
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