I use this library from stevestrong https://github.com/stevstrong/Adafruit_ ... 6bit_STM32 and use the graphic test example and outputs the serial , this

Code: Select all

```
TFT LCD test
TFT size is 320x480
TFT begin done.
rotation: 0, runtime: 23229
rotation: 1, runtime: 23229
rotation: 2, runtime: 23229
rotation: 3, runtime: 23230
Benchmark Time (microseconds)
Screen fill 54845
Text 23229
Lines 423012
Horiz/Vert Lines 6839
Rectangles (outline) 5713
Rectangles (filled) 134014
Circles (filled) 187446
Circles (outline) 177968
Triangles (outline) 118044
Triangles (filled) 122775
Rounded rects (outline) 53757
Rounded rects (filled) 192713
Done!
rotation: 0, runtime: 23229
rotation: 1, runtime: 23229
rotation: 2, runtime: 23229
rotation: 3, runtime: 23229
Benchmark Time (microseconds)
Screen fill 54845
Text 23229
Lines 423013
Horiz/Vert Lines 6837
Rectangles (outline) 5713
Rectangles (filled) 134018
Circles (filled) 187445
Circles (outline) 177966
Triangles (outline) 118045
Triangles (filled) 122777
Rounded rects (outline) 53757
Rounded rects (filled) 192715
Done!
rotation: 0, runtime: 23229
rotation: 1, runtime: 23229
rotation: 2, runtime: 23229
rotation: 3, runtime: 23229
Benchmark Time (microseconds)
Screen fill 54845
Text 23228
Lines 423013
Horiz/Vert Lines 6837
Rectangles (outline) 5712
Rectangles (filled) 134011
Circles (filled) 187442
Circles (outline) 177967
Triangles (outline) 118044
Triangles (filled) 122778
Rounded rects (outline) 53757
Rounded rects (filled) 192713
Done!
rotation: 0, runtime: 23231
rotation: 1, runtime: 23229
rotation: 2, runtime: 23229
rotation: 3, runtime: 23229
Benchmark Time (microseconds)
Screen fill 54845
Text 23229
Lines 423013
Horiz/Vert Lines 6839
Rectangles (outline) 5712
Rectangles (filled) 134017
Circles (filled) 187446
Circles (outline) 177966
Triangles (outline) 118045
Triangles (filled) 122779
Rounded rects (outline) 53757
Rounded rects (filled) 192714
Done!
rotation: 0, runtime: 23231
rotation: 1, runtime: 23231
rotation: 2, runtime: 23229
rotation: 3, runtime: 23230
Benchmark Time (microseconds)
Screen fill 54845
Text 23229
Lines 423011
Horiz/Vert Lines 6839
Rectangles (outline) 5713
Rectangles (filled) 134008
Circles (filled) 187444
Circles (outline) 177966
Triangles (outline) 118045
Triangles (filled) 122787
Rounded rects (outline) 53756
Rounded rects (filled) 192712
Done!
rotation: 0, runtime: 23230
rotation: 1, runtime: 23231
rotation: 2, runtime: 23231
rotation: 3, runtime: 23229
Benchmark Time (microseconds)
Screen fill 54845
Text 23229
Lines 423011
Horiz/Vert Lines 6839
Rectangles (outline) 5713
Rectangles (filled) 134018
Circles (filled) 187444
Circles (outline) 177966
Triangles (outline) 118044
Triangles (filled) 122789
Rounded rects (outline) 53757
Rounded rects (filled) 192712
Done!
```

I wired my screen to bluepill like this

Code: Select all

```
PORT DATA
DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
STM31F103
PB15 PB14 PB13 PB12 PA11 PA10 PA9 PA8 PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0
CONTROL PINS
RS CS WR RST
STM31F103
PA12 PA15 PB3 PB4
```