代码搜索结果
找到约 7,992 项符合
Motor 的代码
test motor.c
/////////////////////////////////////
// Generated Initialization File //
/////////////////////////////////////
#include "C8051F020.h"
unsigned int delay_count;
bit duty_direction =0;
sb
motor.dp2
Motor.o: C:/icc/include/io8535v.h C:/icc/include/macros.h C:/icc/include/eeprom.h
motor.dp2
Motor.o: C:/icc/include/io8535v.h C:/icc/include/macros.h C:/icc/include/eeprom.h
dc_motor.mdl
Model {
Name "dc_motor4_weizhi2"
Version 5.0
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
Show
motor_dri.lst
C51 COMPILER V7.01 MOTOR_DRI 09/19/2005 08:40:54 PAGE 1
C51 COMPILER V7.01, COMPILATION OF MODULE MOTOR_DRI
OBJECT MODULE PLACED
motor_dri.h
#define FORWARD 1
#define BACKWARD 0
extern unsigned int motor_steps;
extern bit motor_runing; //==1电机在转
extern bit timer0_end_flag; //==1定时结束,可以走下
motor_dri.c
#pragma small
#include "reg66x.h"
#include "motor_dri.h"
#include "electromotion.h"
#define T2_CONSTANT_FOR_1MS (65536-2000) //定时1ms
//电机驱动器设定:400步一圈,单脉冲方式,半电流,输出电流选择最大。
unsigned in
motor_dri.lst
C51 COMPILER V7.01 MOTOR_DRI 09/10/2005 15:18:13 PAGE 1
C51 COMPILER V7.01, COMPILATION OF MODULE MOTOR_DRI
OBJECT MODULE PLACED
motor_dri.h
#define forward 1
#define backward 0
extern unsigned int motor_steps;
extern bit motor_runing; //==1电机在转
extern bit timer0_end_flag; //==1定时结束,可以走下