The XPT2046 is the same as the ADS7843. What's making your situation a bit more complicated is that they both use the same SPI bus pin and control which chip is selected by CS1 and CS2 and the available modules do not use the CS1 and CS2 pins. So you have to merge the two modules into one and include the CS# control. The hardware I used expose the bus for each individual chip separately (see conversation about Modular and extensible UI framework and ui elements).
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
The XPT2046 is the same as the ADS7843. What's making your situation a bit more complicated is that they both use the same SPI bus pin and control which chip is selected by CS1 and CS2 and the available modules do not use the CS1 and CS2 pins. So you have to merge the two modules into one and include the CS# control. The hardware I used expose the bus for each individual chip separately (see conversation about Modular and extensible UI framework and ui elements).