⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adcontroll.cpp

📁 可通过人机界面上位机控制二维步进电机平台的运动
💻 CPP
字号:
// AdControll.cpp: implementation of the CAdControll class.
//
//////////////////////////////////////////////////////////////////////
#include<windows.h>
#include "stdafx.h"
#include "move.h"
#include "AdControll.h"
#include"Piso813.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CAdControll::CAdControll()
{

	m_unBaseAddress=0x80; //我们的AD/DA卡基地址 

	m_byChannelAddress=0x0a; //通道基本偏移地址 

    m_byStart=0x00;         //开 始A/D 转 换 的 信 号 
}



CAdControll::~CAdControll()
{

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -