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, powered by microcosm.
Report a problem