📄 nmea_convert.cpp
字号:
// NMEA_Convert.cpp : implementation file
//
#include "stdafx.h"
#include "NMEA_SR.h"
#include "NMEA_Convert.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CNMEA_Convert
CNMEA_Convert::CNMEA_Convert()
{
}
CNMEA_Convert::~CNMEA_Convert()
{
}
BEGIN_MESSAGE_MAP(CNMEA_Convert, CWnd)
//{{AFX_MSG_MAP(CNMEA_Convert)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CNMEA_Convert message handlers
unsigned char CNMEA_Convert::ASCII2HEX(char *str)
{
//int lenth;
char ASCH=*str;
char ASCL=*(str+1);
unsigned char C_HEX=0;
return C_HEX;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -