5 years, 11 months ago.

LPC1786 + Adafruit PiTFT (ili9341): Use Touch function

Hello community,

i want to use the touch display of my PiTFT with the LPC1786. Anyone has a projekt with the same components or a little help for me?

The Display is working. But i dont know, how to use the Touch. My end is to provide a small number block use by touch and then save the input in a aray.

I am a beginner, so please take a bit considerate ;-) Thank you

1 Answer

5 years, 11 months ago.

It looks like the touchscreen is a completely different controller to the display, an STMPE610. The board uses two different chip selects to control whether it is talking to the display driver or the touchscreen driver.

A quick search didn't show up an mbed driver for it but you will probably want to double check that.

If there isn't a driver already you can always port this arduino one: https://github.com/adafruit/Adafruit_STMPE610 The data sheet for the part is here: http://www.st.com/web/en/resource/technical/document/datasheet/CD00226473.pdf