ジャイロ追加前

Dependencies:   mbed FreeRTOS

Revision:
18:5aa48aec9cae
Parent:
17:f9610f3cfa1b
Child:
22:24c9c2dedca9
--- a/typedef.h	Fri Nov 30 05:24:27 2018 +0000
+++ b/typedef.h	Sat Dec 01 14:03:08 2018 +0000
@@ -1,6 +1,7 @@
 #ifndef _TYPEDEF_H_
 #define _TYPEDEF_H_
 /////////////////////////////////////////////////////////////////////
+#include "debug.h"
 
 //Asciiコード
 #define BS  0x08
@@ -16,10 +17,10 @@
  *
  */
 
-#define UCHAR   unsigned char
-#define UINT16  unsigned short
-#define INT16   short
-#define UINT32  unsigned int
+typedef unsigned char   UCHAR;
+typedef unsigned short  UINT16;
+typedef short           INT16;
+typedef unsigned int    UINT32;
 
 /////////////////////////////////////////////////////////////////////
 #endif