This example shows how to configure the LCD. It renders colorbars, shows an image, and allows control of a pointer.
No special setup is required for the demo. Just build and run.
Build procedure: LPCOpen 18xx/43xx build instructions
Supported boards and board setup:
- Hitex LPC1850EVA-A4-2 and LPC4350EVA-A4-2 boards connected with an external QVGA (320x240) TFT LCD.
- Keil MCB1857 and MCB4357 boards
Submit bug reports for LPCOpen code here.
'Pointer' cursor image horizontal size
Definition at line 46 of file Cursor.h.
'Pointer' cursor image vertical size
Definition at line 51 of file Cursor.h.
#define LCD_HEIGHT BOARD_LCD.LPP |
Definition at line 58 of file lcd.c.
#define LCD_WIDTH BOARD_LCD.PPL |
Definition at line 57 of file lcd.c.
Definition at line 60 of file lcd.c.
Definition at line 59 of file lcd.c.
Main entry point.
- Returns
- Nothing
Definition at line 101 of file lcd.c.
Definition at line 78 of file lcd.c.
void SysTick_Handler |
( |
void |
| ) |
|
SysTick Interrupt Handler.
- Returns
- Nothing
Definition at line 90 of file lcd.c.
'Pointer' cursor image data
Definition at line 63 of file lcd.c.
const unsigned short image[] |
NXP logo image data.
Definition at line 50 of file image.c.
const unsigned short image[4620] |
NXP logo image data.
Definition at line 50 of file image.c.
Definition at line 64 of file lcd.c.