Most ILI9481 based TFT screens available cheaply are 16-bit parallel interface devices. While considerably more work to wire them up the 16-bit interface, especially when coupled with the PIC32's Parallel Master Port (PMP) gives vastly superior graphics speed and facilities over a simple SPI interface.

Consequently the DisplayCore provides two different interface options for this device; one is a "discrete pin" version where you have to specify each pin that is used to communicate with the screen, and the other is a PMP dedicated version where you only need to specify the reset pin. The latter requires you to connect the screen to specific pins on the PIC32 though, and not all development boards have all the correct pins available.

In the discrete pin version of the constructor the order of pins is as follows:

RS, WR, RD, CS, RESET, D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15.

#include <ILI9481.h>

// RS = 2, WR = 3, RD = 4, CS = 5, RESET = 6
// Data pins are 26 through 40
ILI9481 tft(
    2, 3, 4, 5, 6,
    26, 27, 28, 29, 30, 31, 32, 33,
    34, 35, 36, 37, 38, 39, 39, 40

For the PMP version you only specify reset:

#include <ILI9481.h>

// RESET = 6
ILI9481_PMP tft(6);