代码搜索结果
找到约 7,992 项符合
Motor 的代码
motor_operation+lcd.c
//****************************************************************************
// MSP430-41X Demo - LCD display and Motor operation
//
//
// MSP430F413
// ------------
em78p153designpwmout.asm
;以纯软件方式在低速MCU上实现高速PWM的方法
;作为消费电子的开发人员来说,控制成本是头等待大事,因此在开发过程中以各种方法来控制成本,
;下面介绍一下在4MHZ的MCU上实现20KHz以上的可调PWM输出:
;程序以EMC78P153为MCU,使用内部RC振荡器,频率为4MHz
MAIN:
WDTC
;=============================
pidmotor.h
/*------------------------------------------------------------------*-
PID_Motor.h (v1.00)
------------------------------------------------------------------
- see PID_Motor.c for det
irq.c
/* INCLUDE */
#include /* for EnableInterrupts macro */
#include /* include peripheral declarations */
#include "COMMON.h"
#include "IRQ.h"
#include "TIM.h"
#includ
motorctrl.h
#ifndef __MOTOR_H__
#define __MOTOR_H__
#define MOTOR_SEVER_FRE 1000 //20kHz
#define MOTOR_CONT (MCLK/2/2/MOTOR_SEVER_FRE)
#define MOTOR_MID (MOTOR_CONT/2)
void init_MotorPort(void)
moter.c
/******************************************************************/
/*****************************************************************/
/*
s_ motor-key.m51
BL51 BANKED LINKER/LOCATER V5.03 08/17/2008 12:28:09 PAGE 1
BL51 BANKED LINKER/LOCATER V5.03, INVOKED BY:
C:\KEIL\C51\BIN\BL51.EXE S_ MOT
电机转动.txt
/******************************************************************/
/*****************************************************************/
/*
hardwareinfo.c
#ifndef _MOTOR_
#define _MOTOR_ unsigned long
#endif
#ifndef _COMPASS_
#define _COMPASS_ unsigned long
#endif
#ifndef _MOTOR_left_
#define _MOTOR_left_ 20736
#endif
#ifndef _MOTOR_right_
#de
hardwareinfo.c
#ifndef _MOTOR_
#define _MOTOR_ unsigned long
#endif
#ifndef _COMPOUNDEYE_
#define _COMPOUNDEYE_ unsigned long
#endif
#ifndef _MOTOR_left_
#define _MOTOR_left_ 20736
#endif
#ifndef _MOTOR_rig