Adapted from Peter Dresche's original for Waveshare 2.8inch TFT Touch Shield Board and Mbed 6. RGB order reversed by changing reg 16 commands, spi write code adjusted as there is no reset pin but there is data command pin. Wait commands changed for new thread_sleep style, Stream class explicitly included. 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
Files at revision 27:8360ab3c19d6
Name | Size | Actions |
---|---|---|
[up] | ||
GraphicsDisplay.cpp | 6610 | Revisions Annotate |
GraphicsDisplay.h | 1624 | Revisions Annotate |
SPI_TFT.cpp | 21393 | Revisions Annotate |
SPI_TFT.h | 12010 | Revisions Annotate |
TextDisplay.cpp | 1836 | Revisions Annotate |
TextDisplay.h | 2387 | Revisions Annotate |