![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
a
main.h
- Committer:
- Tom0108
- Date:
- 2019-08-22
- Revision:
- 0:761a63c6d020
- Child:
- 6:040d001acb12
File content as of revision 0:761a63c6d020:
/** ****************************************************************************** * @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 *********************************/