📄 icm30.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 + -