The connection to the display (SSD2119 display controller)

DB 0-7 -> GPIOB 8-15
DB 8-15 -> GPIOC 0-7

nCsPin -> GPIOC 8
RsPin -> GPIOC 9
nWrPin -> GPIOC 10
nRdPin -> GPIOC 11
nRstPin -> GPIOC 12
Lcd_LightPin -> GPIOC 13

T_CS -> GPIOA 4
SPI1_SCK -> GPIOA 5
SPI1_MISO -> GPIOA 6
SPI1_MOSI -> GPIOA 7