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.
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