初中生
最后登录1970-1-1
在线时间 小时
注册时间2015-4-17
|
emWin 5.24 手册说明 驱动IC R61509V 按以下进行配置:
31.7.14 GUIDRV_CompactColor_16
......
Driver selection and configuration
To be able to use this driver the following macro definition needs to be added to the
configuration file LCDConf.h:
#define LCD_USE_COMPACT_COLOR_16
After this define has been added the display driver assumes the driver specific configuration file LCDConf_CompactColor_16.h in the configuration folder. All further
compile time configuration macros should be defined in this file. To create a driver
device using the GUIDRV_CompactColor_16 for the given display, e.g. the following
command can be used:
pDevice = GUI_DEVICE_CreateAndLink(GUIDRV_COMPACT_COLOR_16,
GUICC_565, 0, 0);
现在问题是:
1、按照野火的 “1.emWin_basic ”的例程,找不到 LCDConf.h 文件;
2、
void LCD_X_Config(void) {
......
pDevice = GUI_DEVICE_CreateAndLink(GUIDRV_COMPACT_COLOR_16, GUICC_565, 0, 0);
这样修改后,编译提示以下错误
..\..\STemWinLibrary522\Config\LCDConf_FlexColor_Template.c(180): error: #20: identifier "GUIDRV_COMPACT_COLOR_16" is undefined
3、改为其他IC 的驱动编译也出错;
pDevice = GUI_DEVICE_CreateAndLink(GUIDRV_DIST, COLOR_CONVERSION, 0, Layer);
现在我要 将STemWin移植至 液晶屏驱动IC R61509V,需要怎么改?
谢谢!
|
|