Cursor Configuration register

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cursor Configuration register

408 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Colin_Zou on Tue Sep 09 21:39:10 MST 2014
HI,
i have to start a new project building a lcd board based on the 208qfp version of the lpc185x microcontroller. this is my first LPC based board,in lcd demo.i want to change the color of the cursor,but i don't know how to change cursor register? cursor code is

        Chip_LCD_Cursor_Disable(LPC_LCD, 0);
Chip_LCD_Cursor_Config(LPC_LCD, LCD_CURSOR_32x32, true);
Chip_LCD_Cursor_WriteImage(LPC_LCD, 0, (void *) Cursor);
Chip_LCD_Cursor_SetClip(LPC_LCD, CURSOR_H_OFS, CURSOR_V_OFS);
Chip_LCD_Cursor_SetPos(LPC_LCD, cursor_x, cursor_y);
Chip_LCD_Cursor_LoadPalette0(LPC_LCD,0xff);
Chip_LCD_Cursor_Enable(LPC_LCD, 0);
I try to modify the parameters of  Chip_LCD_Cursor_LoadPalette0(LPC_LCD,0xff)    function, but does not change the color of the cursor。
Looking forward to your reply
Labels (1)
0 Kudos
0 Replies