CodexPadFrameDecoder Arduino 库
1.0.0
载入中...
搜索中...
未找到
codex_pad_frame_decoder_lib.h
浏览该文件的文档.
1
#pragma once
2
3
#ifndef _CODEX_PAD_FRAME_DECODER_LIB_H_
4
#define _CODEX_PAD_FRAME_DECODER_LIB_H_
5
6
#include <WString.h>
7
8
/**
9
* @file codex_pad_frame_decoder_lib.h
10
*/
11
12
namespace
codex_pad_frame_decoder_lib {
13
/**
14
* @~Chinese
15
* @brief 主版本号。
16
*/
17
/**
18
* @~English
19
* @brief Major version number.
20
*/
21
constexpr
uint8_t
kVersionMajor
= 1;
22
23
/**
24
* @~Chinese
25
* @brief 次版本号。
26
*/
27
/**
28
* @~English
29
* @brief Minor version number.
30
*/
31
constexpr
uint8_t
kVersionMinor
= 0;
32
33
/**
34
* @~Chinese
35
* @brief 修订版本号。
36
*/
37
/**
38
* @~English
39
* @brief Patch version number.
40
*/
41
constexpr
uint8_t
kVersionPatch
= 0;
42
43
/**
44
* @~Chinese
45
* @brief 获取版本号字符串。
46
* @return 版本号字符串,格式为 major.minor.patch。
47
*/
48
/**
49
* @~English
50
* @brief Get the version number string.
51
* @return The version number string in the format of major.minor.patch.
52
*/
53
String
Version
() {
54
return
String(
kVersionMajor
) +
'.'
+
kVersionMinor
+
'.'
+
kVersionPatch
;
55
}
56
}
// namespace codex_pad_frame_decoder_lib
57
#endif
codex_pad_frame_decoder_lib::Version
String Version()
获取版本号字符串。
定义
codex_pad_frame_decoder_lib.h:53
codex_pad_frame_decoder_lib::kVersionPatch
constexpr uint8_t kVersionPatch
修订版本号。
定义
codex_pad_frame_decoder_lib.h:41
codex_pad_frame_decoder_lib::kVersionMajor
constexpr uint8_t kVersionMajor
主版本号。
定义
codex_pad_frame_decoder_lib.h:21
codex_pad_frame_decoder_lib::kVersionMinor
constexpr uint8_t kVersionMinor
次版本号。
定义
codex_pad_frame_decoder_lib.h:31
src
codex_pad_frame_decoder_lib.h
制作者
1.13.0