ジャイロ追加前

Dependencies:   mbed FreeRTOS

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers uart.h Source File

uart.h

00001 #ifndef _UART_H_
00002 #define _UART_H_
00003 /////////////////////////////////////////////////////////////////////
00004 #include "mbed.h"
00005 
00006 #include "typedef.h"
00007 //----------------------------------
00008 //グローバル変数
00009 //----------------------------------
00010 extern  Serial  sp;//シリアルポート
00011 //#define DEBUG_T_SERIAL
00012 #ifdef DEBUG_T_SERIAL
00013 extern Serial spMoni;
00014 #endif
00015 
00016 //extern Serial sp46Axis;//シリアルポート
00017 
00018 
00019 //static UCHAR bufDataByGyro[128];
00020 //static int idxBufByG;
00021 //static float accZ;
00022 //static float gyroZ;
00023 //static float yaw;
00024 
00025 //----------------------------------
00026 //関数プロトタイプ
00027 //----------------------------------
00028 void    uartInit();
00029 
00030 // For 6Axis Sensor
00031 //void InitBuf();
00032 //void PushBuf(UCHAR rxChar);
00033 
00034 /////////////////////////////////////////////////////////////////////
00035 #endif