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

📄 icm30.cpp

📁 串口通信,R232.使用VC++ 编写.非常难得。欢迎大家传播下载
💻 CPP
字号:
// ICM30.cpp: implementation of the ICM30 class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "ComPortR.h"
#include "ICM30.h"

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

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

CICM30::CICM30()
{
	SendDataNumber = 8;
	ReadDataNumber = 8;

	SendData[0] = 0x03;
	SendData[1] = 0xdd;
	SendData[2] = 0x01;
	SendData[3] = 0x01;
	SendData[4] = 0X41;
	SendData[5] = 0X00;
	SendData[6] = 0X00;
	SendData[7] = 0X16;
}

CICM30::~CICM30()
{

}

⌨️ 快捷键说明

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