![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
a
Diff: main.h
- Revision:
- 0:761a63c6d020
- Child:
- 6:040d001acb12
diff -r 000000000000 -r 761a63c6d020 main.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.h Thu Aug 22 09:26:20 2019 +0000 @@ -0,0 +1,72 @@ +/** + ****************************************************************************** + * @file main.h + * @author You + * @version V?.?.? + * @date Today + * @brief メインのヘッダファイル + ****************************************************************************** + */ + +/* ヘッダ再呼び出し防止のための定義 ------------------------------------------*/ + +#ifndef _MAIN_H_ +#define _MAIN_H_ +#include "gyro.h" +#include "YKNCT_I2C.h" + +/* ファイル追加 --------------------------------------------------------------*/ +#include "YKNCT.h" +#include "mbed.h" + +/* 定数定義 ------------------------------------------------------------------*/ + + +/* マクロ定義 ----------------------------------------------------------------*/ + + +/* 型定義 --------------------------------------------------------------------*/ +typedef enum +{ + test_motor, + test_motor2, + test_motor3, + test_motor4, + test_motor5, + test_motor6, + test_motor7, + test_motor8, + Motor_MAX +} _Motor_; + + +typedef enum{ + limit, + limit1, + limit2, + limit3, + limit4, + limit5, + limit6, + limit7, + IN_MAX +}_limit_; +typedef enum{ + out1, + out2, + out3, + out4, + ExTowel, + OUT_MAX +}_OUT_; +/* 変数宣言 ------------------------------------------------------------------*/ + + + +/* 関数宣言 ------------------------------------------------------------------*/ + + + +#endif /* _MAIN_H_ */ + +/******************************** END OF FILE *********************************/