代码搜索结果
找到约 7,992 项符合
Motor 的代码
makefilebak
TOPDIR = ../
include $(TOPDIR)Rules.mak
EXTRA_LIBS += -lpthread
EXEC = ehome
#OBJS = main-bak1.o
OBJS = main.o tty.o gprs.o keyshell.o motor.o led.o ds18b20.o
all: $(EXEC)
$(EXEC): $(OBJS)
$
用pic12c508509 控制一个步进电机源程序.txt
用PIC12C508509 控制一个步进电机源程序
; STEP_3.ASM (12C508 / 12C509)
;
; Controls a stepping motor driver on GPIO bits 4, 2, 1 and 0.
;
; The direction is controlled by a switch on GPIO bit 3. Bit 5 is n
serialrev.c
#include
#include
#define INBUF_LEN 4 //数据长度
#define STARTBYTE 0x24 //
#define MYADD 0xE3 //MOTOR MODULE ADD = 0xE3 , 0xE2 - LDDRIVER, 0xE1 - PZT DRIVER
unsigned
shuangbihuang.m
clc;
clear;
%motor modeling
Ra=1.11;
La=200e-6;
Ct=0.0364;
Ue=24;
Ce=Ct;
J=67.7e-7;
aaa=9.54929658/(Ce*30); %转速:脉冲数/ms
bbb=J*La/(Ce*Ct);
ccc=J*Ra/(Ce*Ct);
ts=0.001;
sys=tf(aaa,[bbb,
用pic12c508509 控制一个步进电机源程序.txt
用PIC12C508509 控制一个步进电机源程序
; STEP_3.ASM (12C508 / 12C509)
;
; Controls a stepping motor driver on GPIO bits 4, 2, 1 and 0.
;
; The direction is controlled by a switch on GPIO bit 3. Bit 5 is n
用pic12c508509 控制一个步进电机源程序.txt
用PIC12C508509 控制一个步进电机源程序
; STEP_3.ASM (12C508 / 12C509)
;
; Controls a stepping motor driver on GPIO bits 4, 2, 1 and 0.
;
; The direction is controlled by a switch on GPIO bit 3. Bit 5 is n
main.h
#include
#include
#include "server.h"
#include "motor.h"
#include "utile.h"
#include "CCD.h"
#include "speed.h"
#define null 0xFFFE
int angle_ref;
int speed_ref
dcpwm.cpp
//PWM.CPP
#include
#include
#include
char *title="Test dc motor use PWM method";
#define PC 0x302
#define CR 0x303
void rotate(float per); /*相当于画波形函数*/
void main()
dcpfm.cpp
//PFM.CPP
#include
#include
#include
char *title="Test dc motor use PFM method";
#define PC 0x302
#define CR 0x303
void rotate();
void rotate2();
void rotate4();
voi
用pic12c508509 控制一个步进电机源程序.txt
用PIC12C508509 控制一个步进电机源程序
; STEP_3.ASM (12C508 / 12C509)
;
; Controls a stepping motor driver on GPIO bits 4, 2, 1 and 0.
;
; The direction is controlled by a switch on GPIO bit 3. Bit 5 is n