A very quick and dirty port of the Arduino sketch from the manufacturers demo projects tested it with a SUNTON 8048S050C board (5" IPS touch screen).