#ifndef _MAIN_C_
#define _MAIN_C_
#include "config.h"
#include "lcd1602.h"
typedef unsigned char uint8;
typedef signed char int8;
typedef signed int
int16;
typedef unsigned int
uint16;
unsigned char T0RH;T0RL;
unsigned int time_count=0;
unsigned char n=0;
unsigned char pdata str[12];
int16 x_start_value=0;
int16 y_start_value=0;
int16 x_finish_value=0;
int16 y_finish_value=0;
int16 a;
int16 b;
int16 x;
int16 y;
int16 ox;
int16 oy;
int16 px[2],py[2];
int16 r;
int16 x_g2;
int16 y_g2;
int16 x_g3;
int16 y_g3;
int16
flag_3=0;//F
误差系数
uint16 flag_finish=0;
uint8
flag_xiangxian=0;
unsigned char flag_g=0;
//flag_g=0;flag_g=1,flag_g=2,flag_g=3;
unsigned char div=0;
unsigned char curr_index=0;
unsigned char index=0;
#define NUM_AS 2
typedef struct
node