Download presentation
Presentation is loading. Please wait.
Published byEthel Phillips Modified over 9 years ago
1
The Cortex-M3 Embedded Systems: Programming With the Kitronix K350QVG-V1-F LCD Refer to “Kitronix Ltd. PRODUCT SPECIFICATION” “SSD2119 Advance Information” “Stellaris® Graphics Library USER’S GUIDE”
2
K350QVG-V1-F LCD zStandard LCD Module z320 x RGB x 240 Dots z3.5” 262K colors TFT display zWide temperature zWith SSD2119 LCD driver zWith white LED backlight zWith Touch Panel
3
Pin Assignment
4
Connection with S700 PB7 PD0 PD7 … … PB5 PH6 PH7 K350QVG-V1-F
5
SSD2119 Block Diagram
6
Programming with SSD2119
7
Write Operations Writing an Instruction Writing Pixel Data
8
Programming with Stellaris® Graphics Library zThe graphics library consists of three layers: zThe display driver layer: supplied by the application zThe graphics primitives layer: draw individual items on the display, such as lines, circles, text, and so on zThe widget layer: draw a user interface element on the display and the associated user interaction responses
9
Supply the Display Driver Layer zImplement a set of display dependent operations, such as initialization, backlight control and contrast control zImplement a set of routines required by the graphics library zdraw a pixel on this display zdraw multiple pixels on this display zdraw a horizontal line on this display zdraw a vertical line on this display zdraw a filled rectangle on this display ztranslate 24-bit RGB colors to display-specific colors zflush any cached drawing operations on this display zConstruct a structure of tDisplay
10
Block Diagram
11
Use Graphics Primitives and Widgets zThe graphics primitives provide a set of low level drawing operations zdrawing lines, circles, text, and bitmap images zColor is represented as 24-bit RGB zA large set of fonts are provided zA drawing context should be constructed with GrContextInit() before it can be used to perform drawing operations, using the implemented display driver (i.e., an implemented instance of tDisplay) zDetailed description to all graphics primitives can be found in the user’s guide document zHigher layer routines for widget operations can also be found in the guide document
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.