ETrobocon2017 - 片山研究所モデルベース開発推進事業部
str
apps
include
FirstCode.h
[詳解]
1
6
#ifndef __FIRST_CODE__
7
#define __FIRST_CODE__
8
9
#include <stdint.h>
10
14
class
FirstCode
{
15
public
:
16
FirstCode
();
17
23
void
upDigit
( int8_t );
24
30
void
downDigit
( int8_t );
31
36
int32_t
getFirstCode
();
37
42
int8_t
getDigit
();
43
49
void
changeRightDigit
();
50
56
void
changeLeftDigit
();
57
58
private
:
62
int
firstCodeDigit[ 5 ];
63
67
int
digit;
68
};
69
70
71
#endif
FirstCode::upDigit
void upDigit(int8_t)
Definition:
FirstCode.cpp:19
FirstCode::changeRightDigit
void changeRightDigit()
Definition:
FirstCode.cpp:55
FirstCode::changeLeftDigit
void changeLeftDigit()
Definition:
FirstCode.cpp:63
FirstCode::getFirstCode
int32_t getFirstCode()
Definition:
FirstCode.cpp:39
FirstCode::downDigit
void downDigit(int8_t)
Definition:
FirstCode.cpp:29
FirstCode
初期位置コードクラス
Definition:
FirstCode.h:14
FirstCode::getDigit
int8_t getDigit()
Definition:
FirstCode.cpp:51
FirstCode::FirstCode
FirstCode()
Definition:
FirstCode.cpp:9
構築:
1.8.13