代码搜索结果
找到约 858 项符合
Stepper 的代码
robot.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,1,
File 1,1,
stepper.4th
\ Stepper code by Steven Sarns ... placed in the Public Domain
\ Timer 0 is used as prescaler from 1 MHz down to lower freq.
\ The output of timer 0 is sent to gated timer 1. The gate is
\
stepper.txt
步进电机控制程序 STEPPER.C
/*
* STEPPER.C
* sweeping stepper's rotor cw and cww 400 steps
* Copyright (c) 1999 by W.Sirichote
*/
#include c:\mc51\8051io.h /* include i/o header file */
#includ
stepper.v
// Stepper.v
// This block is to process the step up/down commands and pass it appopriately to the clock pulse counter
// Step_up command has priority over Step_dn if asserted at the same time
mo
stepper.c
/*
* STEPPER.C
* sweeping stepper's rotor cw and cww 400 steps
* Copyright (c) 1999 by W.Sirichote
*/
#include c:\mc51\8051io.h /* include i/o header file */
#include c:\mc51\8051reg.h
ex26 - stepper.bs2
' {$STAMP BS2}
' ==============================================================================
'
' File...... Ex26 - Stepper.BS2
' Purpose... Stepper Motor Control
' Author.... Parallax
' E-mai
stepper.tdf
SUBDESIGN stepper
(
clk, reset : INPUT;
ccw, cw : INPUT;
phase[3..0] : OUTPUT;
)
VARIABLE
ss: MACHINE OF BITS (phase[3..0])
WITH STATES (
s0 = B"0001",
s1 = B"0010",
s2 = B
robot.lnp
"MAIN.obj",
"STEPPER.obj",
"PC_IO.obj",
"PC_IO_T1.obj",
"Simple_EOS.obj",
"Menu_Robot.obj"
TO "Robot"
RAMSIZE(256)
stepper.c
/*------------------------------------------------------------------*-
Stepper.C (v1.00)
------------------------------------------------------------------
Simple stepper control f
robot.plg
Build target 'Target 1'
compiling MAIN.C...
compiling STEPPER.C...
compiling PC_IO.c...
compiling PC_IO_T1.c...
compiling Simple_EOS.c...
compiling Menu_Robot.c...
linking...
"Robot" - 0 Error(s), 0 W