Testing ILI9328 2.8″ TFT (Touch Screen) with PIC32MX795F512L

performed a simple test to interface ILI9328 2.8″ TFT (Touch Screen) with PIC32MX795F512L, later on I also wrote SPI based touchscreen driver for analog devices ADS7843. The main program checks for the data available pin and if touchscreen data is available it reads through SPI: