Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: 2018NHK_gakugaku_robo 2018NHK_gaku_ver2
lineSensor Class Reference
ラインセンサ用クラス More...
#include <lineSensor.h>
Public Member Functions | |
| lineSensor (PinName line_) | |
| デフォルトコンストラクタ | |
| void | lineborder (float border_) |
| ラインとの境目の位置 | |
| bool | getJudgment () |
| ラインの判別表示 1だとライン踏んでいる 0だとラインを踏んでいない | |
| float | rawlinevalue () |
| センサの値表示 | |
Detailed Description
ラインセンサ用クラス
Definition at line 10 of file lineSensor.h.
Constructor & Destructor Documentation
| lineSensor | ( | PinName | line_ ) |
デフォルトコンストラクタ
Definition at line 3 of file lineSensor.cpp.
Member Function Documentation
| bool getJudgment | ( | ) |
ラインの判別表示 1だとライン踏んでいる 0だとラインを踏んでいない
Definition at line 25 of file lineSensor.cpp.
| void lineborder | ( | float | border_ ) |
ラインとの境目の位置
Definition at line 8 of file lineSensor.cpp.
| float rawlinevalue | ( | ) |
センサの値表示
Definition at line 20 of file lineSensor.cpp.
Generated on Tue Jul 12 2022 16:17:17 by
1.7.2