text: /*******************************************************************
  #include "GUIcustom.h"
  Last Write Time: 2016-08-15  14:03:56
  *******************************************************************/
  
  #ifndef GUI_CUSTOM_H
  #define GUI_CUSTOM_H
  
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  #include "include.h"
  
  ///类型重定义
  typedef u8 u8;
  typedef u16 u16 ;
  typedef u32 u32;
  typedef  s8 s8;
  typedef s16 s16;
  typedef s32 s32;
  
  ///配置宏定义
  #define ItermNameLengthMax     6
  #define Iterm_TOTAL            47
  #define ItemNum_MAX            4
  #define ItermCMDNameLengthMax  10
  #define Iterm_CMD_TOTAL        16
  
  #define LCD_X_NAME  8
  #define LCD_X_DATA  64
  #define LCD_X_X     58
  
  //#define SHOW_PAGE_NUM
  
  
  ///函数宏定义
  #define LCD_CLEAR(value) LCD_CLS(value)
  #define LCD_PrintString(X,Y,STR) MYLCD_P8x16Str(X,Y,STR)
  #define LCD_PrintParaNameString(X,Y,STR) MYLCD_P8x16Str(X,Y,STR)
  #define LCD_PrintParaDataString(X,Y,STR) MYLCD_P8x16Str(X,Y,STR)
  #define LCD_PrintCMDNameString(X,Y,STR) MYLCD_P8x16Str(X,Y,STR)
  //#define PANNEL_SEND_DATA(value) (value)
  
  
  ///Iterms
  //extern u16 AD_Value[0];
  //extern u16 AD_Value[1];
  extern s32 RecieveByte;
  extern u8 recieve;
  //extern s16 Yaw.ShowData;
  //extern s16 Roll.ShowData;
  //extern s16 Pitch.ShowData;
  extern s32 RecieveByte;
  extern s16 MotorDuty;
  extern s16 ServoDuty;
  extern s16 SerSet;
  extern s16 SerMid;
  extern s8 ShipRunEN;
  extern s16 MoSet;
  //extern s8 RemoteCtr.EN;
  //extern u16 Sensor[0].PulseNum;
  //extern u16 Sensor[1].PulseNum;
  //extern u16 Sensor[2].PulseNum;
  //extern u16 Sensor[3].PulseNum;
  //extern u16 Sensor[4].PulseNum;
  //extern u16 Sensor[5].PulseNum;
  //extern u16 Sensor[6].PulseNum;
  //extern u16 Sensor[7].PulseNum;
  //extern u16 Sensor[8].PulseNum;
  //extern u16 Sensor[9].PulseNum;
  //extern u16 Sensor[10].PulseNum;
  //extern u16 Sensor[11].PulseNum;
  //extern u16 Sensor[12].PulseNum;
  //extern u16 Sensor[13].PulseNum;
  //extern u16 Sensor[14].PulseNum;
  //extern u16 Sensor[15].PulseNum;
  extern u8 MotorNowDuty ;
  extern u8 LowStartCoe;
  //extern s16 SerPD.Kp;
  //extern s16 SerPD.Kd;
  //extern s16 ServoPara.TurnGoalAngle;
  //extern s16 ServoPara.TurnGoalAngle;
  //extern u8 MotorPara.StraghtSpeed;
  //extern u8 MotorPara.TurnSpeed;
  //extern u8 TimerGo.Time_s;
  //extern u8 TimerGo.EN;
  //extern u8 Clock_1_Sensor.WeightInit;
  //extern u8 Clock_2_Sensor.WeightInit;
  //extern u8 Clock_3_Sensor.WeightInit;
  //extern u8 Clock_11_Sensor.WeightInit;
  //extern u8 Clock_10_Sensor.WeightInit;
  //extern u8 Clock_9_Sensor.WeightInit ;
  
  void GUI_Sleep(void);
  void Writeflash(void);
  void Read(void);
  void ClearRecieveCount(void);
  void Servo_Debug(void);
  void CaliPose(void);
  void Run(void);
  void Stop(void);
  void ChangeIsAlwaysRun(void);
  void HighSpeed(void);
  void MiddleSpeed(void);
  void LowSpeed(void);
  void ChangeHouSensorIsUseful(void);
  void ChangeSerMid(void);
  void ChangeSerMid(void);
  void ChangeSerMid(void);
  
  #endif
  
  