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

Revisions of SPI_TFT.cpp

Revision Date Message Actions
27:8360ab3c19d6 2021-03-30 Sorting File  Diff  Annotate
26:231a28b27a76 2020-07-06 Working BMP from SD File  Diff  Annotate
25:f593b4adb905 2020-06-28 Improved speed using STM Direct lib File  Diff  Annotate
24:b986bedb0a73 2020-06-28 More tidying File  Diff  Annotate
23:469bf5f3c8ac 2020-06-28 Fixed color handling color order and SPI communication (superflous start bits removed File  Diff  Annotate
22:4a0f306be8ef 2020-06-17 Now with mutexes ! File  Diff  Annotate
20:275bf616ceb7 2020-06-17 First fully working version for Waveshare TFT board File  Diff  Annotate
18:52cbeede86f0 2013-10-22 The last change was made on the wrong code. Fix back the kinetis support . File  Diff  Annotate
17:d7e48335953e 2013-10-18 Better circle function from Michael Ammann File  Diff  Annotate
16:2efcbb2814fa 2013-03-25 fix bug in bmp for kinetis File  Diff  Annotate
15:f5772cffc2b2 2013-03-05 KL25Z Version patch File  Diff  Annotate
14:ea3206e8e3bd 2013-03-05 Add Freescale KL25Z support. File  Diff  Annotate
13:2c91cb947161 2013-03-05 Add Freescale KL25Z support File  Diff  Annotate
12:9de056a58793 2013-03-05 Fix LPC11U24 bug File  Diff  Annotate
11:9bb71766cafc 2013-02-19 fix warnings File  Diff  Annotate
10:071ae6e02fcf 2013-02-03 remove useless line in hline File  Diff  Annotate
9:a63fd1ad41b0 2013-02-03 get the lib working with LPC11U24. ; The code is switched internal. File  Diff  Annotate
8:65a4de035c3c 2013-02-03 Add NO_DMA define to switch off DMA use (LPC11U24) File  Diff  Annotate
7:e753bb62eeb9 2012-10-12 Fix SPI1 connection.; Thanks to Hans Bergles File  Diff  Annotate
6:34a13617fd35 2012-09-22 Remove debug prints File  Diff  Annotate
5:9cbf4a534f7e 2012-09-20 Bugfix: the bmp load from filesystem is working again File  Diff  Annotate
4:824715115046 2012-09-20 Bugfix + add comment File  Diff  Annotate
3:7f1d793b90df 2012-09-20 Bugfix: load from filesystem works again File  Diff  Annotate
2:f30ea1eb3681 2012-09-11 Switch back to io pin CS. The use of automatic SPI CS could make problems with interrupt or RTOS. File  Diff  Annotate
1:17e12e4e149f 2012-09-11 Switch back to manual set of CS instead of using spi hardware. Interruption of datatransfer with interrupt or RTOS could cause problems. File  Diff  Annotate
0:de9d1462a835 2012-09-10 [mbed] converted /TFT/SPI_TFT File  Diff  Annotate