2.8" ST7789V touch display works OK when //ts.begin is commented. If ts.begin start touch screen operation touch works but display remain white. Program execute tft codes but no display. With <URTouch.h> everything works ok but it takes 3 extra I/O. There might be conflict in SPI handling. I am using following library;
#include <Adafruit_GFX.h> // Core graphics library
#include <Adafruit_ST7789.h> // Hardware-specific library for ST7789
#include <SPI.h>
Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_MOSI, TFT_SCLK, TFT_RST);
#include <XPT2046_Touchscreen.h>
XPT2046_Touchscreen ts(CS_PIN); // Param 2 - NULL - No interrupts
tft.init(240, 320); // Init ST7789 320x240
That is missing?