xoanon

    1. kemasz 发表于 2014-7-2 14:26 只是过来看看~~~~~~~~~
      我查到官网这样描述 http://www.segger.com/emwin-guidrv-compactcolor-16.html 他们给了一个例子: Configuration example The following shows how to select the driver and how it can be configured: LCDConf.h As explained above it should include the following for selecting the driver: #define LCD_USE_COMPACT_COLOR_16 LCDConf_CompactColor_16.h This file contains the display driver specific configuration and could look as the following: // // General configuration of LCD // #define LCD_CONTROLLER      66709 // Renesas R61516 #define LCD_BITSPERPIXEL       16 #define LCD_SWAP_RB             1 #define LCD_USE_PARALLEL_16     1 #define LCD_MIRROR_Y            1 // // Indirect interface configuration // void LCD_X_Write01_16 (unsigned short c); void LCD_X_Write00_16 (unsigned short c); void LCD_X_WriteM01_16(unsigned short * pData, int NumWords); void LCD_X_WriteM00_16(unsigned short * pData, int NumWords); void LCD_X_ReadM01_16 (unsigned short * pData, int NumWords); #define LCD_WRITE_A1 (Word) LCD_X_Write01_16(Word) #define LCD_WRITE_A0 (Word) LCD_X_Write00_16(Word) #define LCD_WRITEM_A1(Word, NumWords) LCD_X_WriteM01_16(Word, NumWords) #define LCD_WRITEM_A0(Word, NumWords) LCD_X_WriteM00_16(Word, NumWords) #define LCD_READM_A1 (Word, NumWords) LCD_X_ReadM01_16 (Word, NumWords) LCDConf.c The following shows how to create a display driver device with this driver and how to configure it: void LCD_X_Config(void) {   //   // Set display driver and color conversion   //   GUI_DEVICE_CreateAndLink(GUIDRV_COMPACT_COLOR_16, // Display driver                            GUICC_M565,              // Color conversion                            0, 0);   //   // Display driver configuration   //   LCD_SetSizeEx(0, 240, 320);                       // Physical display size in pixels }
    2. 我查到官网这样描述 http://www.segger.com/emwin-guidrv-compactcolor-16.html 他们给了一个例子
    3. 我查到官网这样描述 http://www.segger.com/emwin-guidrv-compactcolor-16.html 他们给了一个例子: Configuration example The following shows how to select the driver and how it can be configured: LCDConf.h As explained above it should include the following for selecting the driver: #define LCD_USE_COMPACT_COLOR_16 LCDConf_CompactColor_16.h This file contains the display driver specific configuration and could look as the following: // // General configuration of LCD // #define LCD_CONTROLLER      66709 // Renesas R61516 #define LCD_BITSPERPIXEL       16 #define LCD_SWAP_RB             1 #define LCD_USE_PARALLEL_16     1 #define LCD_MIRROR_Y            1 // // Indirect interface configuration // void LCD_X_Write01_16 (unsigned short c); void LCD_X_Write00_16 (unsigned short c); void LCD_X_WriteM01_16(unsigned short * pData, int NumWords); void LCD_X_WriteM00_16(unsigned short * pData, int NumWords); void LCD_X_ReadM01_16 (unsigned short * pData, int NumWords); #define LCD_WRITE_A1 (Word) LCD_X_Write01_16(Word) #define LCD_WRITE_A0 (Word) LCD_X_Write00_16(Word) #define LCD_WRITEM_A1(Word, NumWords) LCD_X_WriteM01_16(Word, NumWords) #define LCD_WRITEM_A0(Word, NumWords) LCD_X_WriteM00_16(Word, NumWords) #define LCD_READM_A1 (Word, NumWords) LCD_X_ReadM01_16 (Word, NumWords) LCDConf.c The following shows how to create a display driver device with this driver and how to configure it: void LCD_X_Config(void) {   //   // Set display driver and color conversion   //   GUI_DEVICE_CreateAndLink(GUIDRV_COMPACT_COLOR_16, // Display driver                            GUICC_M565,              // Color conversion                            0, 0);   //   // Display driver configuration   //   LCD_SetSizeEx(0, 240, 320);                       // Physical display size in pixels }
    4. 我查到官网这样描述 http://www.segger.com/emwin-guidrv-compactcolor-16.html 他们给了一个例子: Configuration example The following shows how to select the driver and how it can be configured: LCDConf.h As explained above it should include the following for selecting the driver: #define LCD_USE_COMPACT_COLOR_16 LCDConf_CompactColor_16.h This file contains the display driver specific configuration and could look as the following: // // General configuration of LCD // #define LCD_CONTROLLER      66709 // Renesas R61516 #define LCD_BITSPERPIXEL       16 #define LCD_SWAP_RB             1 #define LCD_USE_PARALLEL_16     1 #define LCD_MIRROR_Y            1 // // Indirect interface configuration // void LCD_X_Write01_16 (unsigned short c); void LCD_X_Write00_16 (unsigned short c); void LCD_X_WriteM01_16(unsigned short * pData, int NumWords); void LCD_X_WriteM00_16(unsigned short * pData, int NumWords); void LCD_X_ReadM01_16 (unsigned short * pData, int NumWords); #define LCD_WRITE_A1 (Word) LCD_X_Write01_16(Word) #define LCD_WRITE_A0 (Word) LCD_X_Write00_16(Word) #define LCD_WRITEM_A1(Word, NumWords) LCD_X_WriteM01_16(Word, NumWords) #define LCD_WRITEM_A0(Word, NumWords) LCD_X_WriteM00_16(Word, NumWords) #define LCD_READM_A1 (Word, NumWords) LCD_X_ReadM01_16 (Word, NumWords) LCDConf.c The following shows how to create a display driver device with this driver and how to configure it: void LCD_X_Config(void) {   //   // Set display driver and color conversion   //   GUI_DEVICE_CreateAndLink(GUIDRV_COMPACT_COLOR_16, // Display driver                            GUICC_M565,              // Color conversion                            0, 0);   //   // Display driver configuration   //   LCD_SetSizeEx(0, 240, 320);                       // Physical display size in pixels }
    5. 。。。。
    6. 我自己来 顶一下: 我现在查到官网这样描述: http://www.segger.com/emwin-guidrv-compactcolor-16.html 他们给了一个例子: Configuration example The following shows how to select the driver and how it can be configured: LCDConf.h As explained above it should include the following for selecting the driver: #define LCD_USE_COMPACT_COLOR_16 LCDConf_CompactColor_16.h This file contains the display driver specific configuration and could look as the following: // // General configuration of LCD // #define LCD_CONTROLLER      66709 // Renesas R61516 #define LCD_BITSPERPIXEL       16 #define LCD_SWAP_RB             1 #define LCD_USE_PARALLEL_16     1 #define LCD_MIRROR_Y            1 // // Indirect interface configuration // void LCD_X_Write01_16 (unsigned short c); void LCD_X_Write00_16 (unsigned short c); void LCD_X_WriteM01_16(unsigned short * pData, int NumWords); void LCD_X_WriteM00_16(unsigned short * pData, int NumWords); void LCD_X_ReadM01_16 (unsigned short * pData, int NumWords); #define LCD_WRITE_A1 (Word) LCD_X_Write01_16(Word) #define LCD_WRITE_A0 (Word) LCD_X_Write00_16(Word) #define LCD_WRITEM_A1(Word, NumWords) LCD_X_WriteM01_16(Word, NumWords) #define LCD_WRITEM_A0(Word, NumWords) LCD_X_WriteM00_16(Word, NumWords) #define LCD_READM_A1 (Word, NumWords) LCD_X_ReadM01_16 (Word, NumWords) LCDConf.c The following shows how to create a display driver device with this driver and how to configure it: void LCD_X_Config(void) {   //   // Set display driver and color conversion   //   GUI_DEVICE_CreateAndLink(GUIDRV_COMPACT_COLOR_16, // Display driver                            GUICC_M565,              // Color conversion                            0, 0);   //   // Display driver configuration   //   LCD_SetSizeEx(0, 240, 320);                       // Physical display size in pixels }

最近访客

< 1/1 >

统计信息

已有2人来访过

  • 芯积分:--
  • 好友:--
  • 主题:1
  • 回复:6

留言

你需要登录后才可以留言 登录 | 注册


现在还没有留言