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
Dependents: TFT_Test1 SourceCodePro31-SB Mandelbrot Mindwave-screen ... more
See http://mbed.org/cookbook/SPI-driven-QVGA-TFT for details.
Revision 10:071ae6e02fcf, committed 2013-02-03
- Comitter:
- dreschpe
- Date:
- Sun Feb 03 18:18:43 2013 +0000
- Parent:
- 9:a63fd1ad41b0
- Child:
- 11:9bb71766cafc
- Commit message:
- remove useless line in hline
Changed in this revision
SPI_TFT.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SPI_TFT.cpp Sun Feb 03 17:51:33 2013 +0000 +++ b/SPI_TFT.cpp Sun Feb 03 18:18:43 2013 +0000 @@ -533,7 +533,6 @@ _cs = 0; #if defined NO_MBED_LIB if (spi_port == 0) { // TFT on SSP0 - for (i = 0; i < ( width() * height()); i++) #if defined USE_DMA LPC_GPDMACH0->DMACCDestAddr = (uint32_t)&LPC_SSP0->DR; // we send to SSP0 /* Enable SSP0 for DMA. */