Library to control a QVGA TFT connected to SPI. You can use printf to print text The lib can handle different fonts, draw lines, circles, rect and bmp
Diff: SPI_TFT.h
- Revision:
- 8:e1f5232d93a0
- Parent:
- 6:fc33e4a5713e
- Child:
- 12:b2dd49f04d5d
--- a/SPI_TFT.h Sun Sep 04 21:24:35 2011 +0000 +++ b/SPI_TFT.h Mon Dec 12 23:07:26 2011 +0000 @@ -283,9 +283,18 @@ DigitalOut _cs; DigitalOut _reset; unsigned char* font; + + + protected: + /** Set draw window region to whole screen + * + */ + void WindowMax (void); + + /** draw a horizontal line * * @param x0 horizontal start @@ -314,10 +323,7 @@ */ void window (unsigned int x, unsigned int y, unsigned int w, unsigned int h); - /** Set draw window region to whole screen - * - */ - void WindowMax (void); + /** Init the HX8347D controller *