代码搜索结果
找到约 5,524 项符合
Motor 的代码
motor.lst
HI-TECH Software PICC Macro Assembler V9.60PL5 build 3884
Tue Apr 28 13:52:09 2009
HI-TECH Software Omniscient Code Generator build 3884
motor.map
HI-TECH Software C Compiler
Linker command line:
--edf=C:\Program Files\HI-TECH Software\PICC\PRO\9.60\dat\en_msgs.txt -cs \
-h+motor.sym -z -Q16F877A -ol.obj -Mmotor.map -E1 -ACODE=00h-07FF
motor.c
#include
#include "Motor.h"
// 整步状态表A
static const unsigned char fullStepA[] =
{
0x00,
0x00,
0x01,
0x01
};
// 半步状态表B
static const unsigned char fullStepB[
motor-rise-fall.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
simple-02.lnp
"STEPPING MOTOR-SIMPLE-02.obj"
TO "simple-02"
simple-02.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,1,
dcmotor.h
#ifndef __DCMOTOR_h__
#define __DCMOTOR_h__
// write your header here
void DCMotor_Init(void);
void DCMotor_SetSpeed(unsigned Motor,unsigned Speed);
void DCMotor_Forward(unsigned Motor);
void
motor.c
#define GEAR_RATIO 1
#define GEARBOX_RATIO 120
#define WHEEL_RADIUS 25
#define Kp 0.28 // 2.75 // 11.55.8.5
#define Ki 0.15
#define DIR PIN_A5 // motor direction
#
motor.bak
#define GEAR_RATIO 1
#define GEARBOX_RATIO 120
#define WHEEL_RADIUS 25
#define Kp 0.28 // 2.75 // 11.55.8.5
#define Ki 0.1
#define DIR PIN_A5 // motor direction
#d
chap9_5i.m
%Three Loop of Flight Simulator Servo System with Direct Current Motor
clear all;
close all;
%(1)Current loop
L=0.001; %L