From 84536a5e58b1ca89831e1056a70bba6d8b800a2f Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Mon, 9 Apr 2012 23:27:01 +0200 Subject: [PATCH] v1.1.0 --- drivers/displays/tft/Readme.md | 29 +++++++++++++++++++++++ drivers/displays/tft/readme.txt | 41 --------------------------------- 2 files changed, 29 insertions(+), 41 deletions(-) create mode 100644 drivers/displays/tft/Readme.md delete mode 100644 drivers/displays/tft/readme.txt diff --git a/drivers/displays/tft/Readme.md b/drivers/displays/tft/Readme.md new file mode 100644 index 0000000..0a17857 --- /dev/null +++ b/drivers/displays/tft/Readme.md @@ -0,0 +1,29 @@ +# TFT/OLED Graphics Sub-System + +The LPC1343 Code Base includes a reasonably complete graphic +sub-system that can be used with a variety of RGB565 TFT or OLED +displays. + +It includes all the basic drawing primitives you'd expect, as well +as color conversion and alpha-blending, support for bitmap and +anti-aliased fonts, loading and saving of bitmap images (from/to an +SD card or elsewhere), and a few basic controls to help you get +started developing your own custom look and feel in your application. + +The core drawing routines (/drivers/displays/tft/drawing.c) are +seperated from the actual HW (/drivers/displays/tft/hw/*) so that +the underlying display can be easily changed without having to +significantly modify your project code. + +A number of drivers are provided for common displays and controllers, +and it's relatively straight-forward to extend the library to support +new ones: you simply need to implement the set of functions defined +in lcd.h, and the graphics sub-system will call these functions +directly when rendering any text, graphics, etc.. + +## Documentation + +Complete documentation for the graphics sub-system is available +online at microbuilder.eu: + +http://www.microbuilder.eu/Projects/LPC1343ReferenceDesign/TFTLCDAPI_v1_1_0.aspx diff --git a/drivers/displays/tft/readme.txt b/drivers/displays/tft/readme.txt deleted file mode 100644 index 0ee2bc4..0000000 --- a/drivers/displays/tft/readme.txt +++ /dev/null @@ -1,41 +0,0 @@ -TFT LCDs -======== - -The top level of this folder contains generic drawing routines for 16-bit TFT -LCD displays. The core drawing functions are defined in drawing.c, and the -specific HW implementation of these routines (setting the individual pixels, -initialising the display, etc.) takes place in a seperate HW drivers that -implements the methods defined in lcd.h. To change the LCD used, you simply -need to change which HW-specific file is compiled and linked during the build -process, without having to change anything else in your application code. - -For example: - -- main.c - drawing.c - hw\ili9325.c ----------------- ---------------- ---------------- - APPLICATION --> GENERIC DRAWING --> SPECIFIC HW - CODE --> CODE --> DRIVER ----------------- ---------------- ---------------- - - -drawing.c Generic drawing routines such as drawing pixels, lines, - rectangles, as well as basic text-rendering. - -lcd.h This file contains the prototypes of HW-specific functions - that must be implemented in the LCD driver, since - drawing.c will redirect all requests to these lower level - functions. - -touchscreen.c Contains a very simple example of how to use the ADC to read - the current position on a touchscreen. No signal debouncing - takes places, and this code will need to be improved for use - in a real-world situation. - -colors.c Functions relating to color conversion, etc. - -fonts.c 1-bit font functions and definitions - -aafonts.c Preliminary effort at adding 2-bit and 4-bit anti- - aliased fonts, though this is still a work in progress. - -hw\* HW-specific drivers based on lcd.h \ No newline at end of file -- 2.20.1