API_LCD.h 1.55 KB
Newer Older
崔立宝's avatar
崔立宝 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70

#ifdef        GLOBALS_API_LCD
    #define   EXTERN_API_LCD
    
   const       INT8U    Matrix1[]=
   { 
      //0     1    2    3    4    5    6    7    8    9  
      0x7d,0x60,0x3e,0x7a,0x63, 0x5b,0x5f,0x70,0x7f,0x7b  
   }; 
   const       INT8U    Matrix2[]=
   { 
      //0     1    2    3    4    5    6    7    8    9  
      0xbe,0x06,0x7c,0x5e,0xc6,0xda,0xfa,0x0e,0xfe,0xde  
   };    
   const       INT8U    Matrix3[]=
   { 
      //0     1    2    3    4    5    6    7    8    9  
      0x77,0x60,0x3e,0x7c,0x69,0x5d,0x5f,0x64,0x7f,0x7d  
   };
                     //3
   const       INT8U    RadarInfo[][2]=
   { 
      {0,0},
      {1,30},
      {2,35},
      {3,40},
      {4,45},
      {5,50},
      {6,55},
      {7,60},
      {8,65},
      {9,70},
      {10,75},
      {11,80},
      {12,85},
      {13,90},
      {14,95},
      {15,100},
      {16,105},
      {17,110},
      {18,115},
      {19,120},
      {20,125},
      {21,130},
      {22,135},
      {23,140},
      {24,145},
      {25,150},
      {26,155},
      {27,160},
      {28,165},
      {29,170},
      {30,175}, 
      {31,180}     
   };
   
           
#else
    #define   EXTERN_API_LCD     extern
#endif
#ifndef API_LCD_H_
#define API_LCD_H_
    
     EXTERN_API_LCD   const    INT8U    RadarInfo[][2];
    
     EXTERN_API_LCD   void     Api_LCD_Init(void);
     EXTERN_API_LCD   void     Api_LCD_Clear(void); 
   //  EXTERN_API_LCD   void     Api_LCD_Display(INT32U LongAcckm,INT16U ShortAcckm,KeyType* KeyMenu);  
     EXTERN_API_LCD   void     Api_LCD_WakupDisp(void); 
#endif /* API_LCD_H_ */