代码搜索结果
找到约 7,992 项符合
Motor 的代码
main.lst
C51 COMPILER V8.08 MAIN 04/03/2009 13:14:46 PAGE 1
C51 COMPILER V8.08, COMPILATION OF MODULE MAIN
OBJECT MODULE PLACED IN ma
main.c
#include
#define uint unsigned int;
#define uchar unsigned char
//以下定义LED片选信号
sbit LED_1 = P3^0;
sbit LED_2 = P3^1;
sbit LED_3 = P1^6;
sbit LED_4 = P1^7;
//以下定义M1驱动信号
sbit M1_1
mv_sample.m
%% Sample solution of the motor vibration problem
%% GEHW 2007
%% FreeMat 3.3
%%
%% Step 1:
%% Primitive lumped mass-spring model analysis
%%
clear
indx=1:4000;
%% Frequency: W - 1~400, Rotor
motortest_uv2.bak
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,2, 0x0
port.h
#ifndef _PORT_H_
#define _PORT_H_
//PB
#define _MD0 0
#define _MD1 1
#define _PWM 2
#define _SPU_EN 6
#define _SPU 7
//PC
#define _HI_CH
twimaster.c
/*############################################################################
############################################################################*/
#include "main.h"
volatile unsigned
text1.lst
C51 COMPILER V7.50 TEXT1 01/17/2009 12:52:54 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE TEXT1
OBJECT MODULE PLACED IN T
text1.c
#include "c8051F040.h"
#define uchar unsigned char
#define uint unsigned int
#define Motor_start 0x10 // 电机开启命令
#define Motor_stop 0x20 // 电机停止命令
#define Motor_control 0x30
motortest.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,2, 0x0
ev.c
/************************************************************************
Project name: motorTest.pjt
File name: ev.c
Author: 胡天亮. 山东大学数控技术研究中心
Tianliang Hu, CNC Research Center, Shandong