代码搜索结果
找到约 7,992 项符合
Motor 的代码
motor.c
//ADCADC.c : source file for the SmartCar Motor
#include "Motor.h"
#include
#include
#define Max_Speed 100
void PWM_OC1_set(unsigned int Left_Run_Direct,unsigned int Left_Speed,uns
motor.h
//ADCADC.h : header file for the SmartCar Motor
//
#ifndef _MOTOR_H_
#define _MOTOR_H_
//void PWM_OC1_set(bool Side, bool Run_Direct, unsigned int Speed);
void PWM_OC1_set(unsigned int Left
motor.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 {
motor.lnp
"MAIN1.obj"
TO "motor"
motor.hex
:10035E000E1D5350454544286E2F6D696E293A0087
:10036E000B0852554E2053544154453A00032B432B
:10037E005700041643435700031A3035300213005A
:04038E003201150122
:10032600758966D2AF758CFF758AFFD2A9D28C7596
motor.plg
礦ision3 Build Log
Project:
D:\硬件学习资料\我的单片机仿真\其它资料\步进电机控制,LCD显示\步进电机控制,LCD显示\motor.uv2
Project File Date: 04/01/2008
Output:
创建目标 'Target 1'
编
motor.c
#include
#include "Motor.h"
// 整步状态表A
static const unsigned char fullStepA[] =
{
0x00,
0x00,
0x01,
0x01
};
// 半步状态表B
static const unsigned char fullStepB[
motor.h
// DCO 频率
#define DCO_FREQ 1000000
// 看门狗在1秒钟内的中断数
#define ONE_SEC_CNT 512
// (1/512)*5 = ~10
#define DEBOUNCE_CNT 0x05
// 0x01:顺时针方向, 0x00:反时针方向
#defin