That LCD has a digital touch screen controller that uses SPI, as you can see a CS for touch, and a CS for LCD.
The sketch you are referencing is for a different use, reading the touch screen with analog signals.