This works fine on MEGA 2560 with adarfruit tftlcd and gfx library.
On going through the forum and reading all the posts I thought UTFT library is the best alternative to Adarfruit library for interfacing with Arduino DUE. The UTFT library for this chip particularly 9341 has a sub directory with S4P and S5P, which means these are for 4P and 5P serial interfaced displays.
Has anybody tried using 8bit parallel interface on arduino DUE SAM3x8E?
The UTFT library it seems does not have RD pin of the TFT connected.
My connections of the shield to DUE are:
LCD_RD A1.6 / A0
LCD_WR A.24 / A1
LCD_RS A.23 / A2
LCD_CS A.22 / A3
LCD_RST A.6 / A4
Hi All,
After adding the touch screen library from adarfruit the dipslay works fine and I am able to read the co-ordinates properly.
The Problem:
The setup function works and display works.
In the loop function Display does not refreshe after the analogread function. The PinMode(YP,OUTPUT) and PinMode(XM,OUTPUT) does not seem to work on DUE.
I am using the adarfruit graphics and touch screen library.
The display works only once in tftpaint demo. The touch co-ordinates are not read and the Display Screen is not updated after calling TSPoint p = ts.getPoint();.