Connecting LCD to WeMos D1 R2 via SPI

Hi,

I have a Wemos (LOLIN) D1 R2 board that I want to connect to an LCD via SPI interface.
I have basic experience with microcontroller boards and it's the first time I try SPI interface. I'm wondering what pin from the LCD should be connected to what pin on the D1.
Pictures of both the D1 and LCD are attached to this post.

Wemos D1 R2 documentation: https://wiki.wemos.cc/products:d1:d1#documentation

Some information about the LCD:

  • Driver IC: ILI9341
  • 5V compatible, use with 3.3V or 5V logic
  • Need at least 4 IOs from your MCU

I found some pages for that with a Googl search for "arduino ILI9341 2.8" Wemos (LOLIN) D1 R2".

I followed the guide on this blog:

which worked fine with my board.