代码搜索结果
找到约 7,992 项符合
Motor 的代码
motor.sln
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Motor", "Motor\Motor.vcproj", "{00D3817A-D949-495D-A716-2565BD
motor.rc
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
/
motor.cpp
// Motor.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "Motor.h"
#include "MotorDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMotorApp
motor.h
// Motor.h : main header file for the PROJECT_NAME application
//
#pragma once
#ifndef __AFXWIN_H__
#error "include 'stdafx.h' before including this file for PCH"
#endif
#ifdef STANDARDSH
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