![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
a
Diff: main.h
- Revision:
- 17:446be2c278d1
- Parent:
- 16:829b953d1ac1
--- a/main.h Mon Sep 23 08:45:17 2019 +0000 +++ b/main.h Tue Sep 24 04:28:34 2019 +0000 @@ -42,6 +42,14 @@ /* 型定義 --------------------------------------------------------------------*/ typedef enum { + AUT, + DRIFT, + + TIM_MAX + +} _TIM_; + +typedef enum { BLACK, BLUE, RED, @@ -100,6 +108,7 @@ void AngleCorrection(double n_angle, double t_angle); void Toggle(int *variable, int val); +int MyTimer(int msec, int num); /*クラス宣言-------------------------------------------------------------------*/ Y_I2C i2c(PB_9, PB_8); // I2C