UTFT not working in IDE 1.6.5 but works perfectly in IDE 1.5.4

/*
IDE 1.5.4 works fine but IDE 1.6.5 'NO TFT sceen at all':

ARDUINO DUE with
CTE TFT LCD/SD Shield for ARDUINO DUE
SainSmart 2.8 inch 240x320 TFT shield CTE28

Oscilloscope Test. works only with IDE 1.5.4 but not with 1.6.5
*/

#include <UTFT.h>
// Uncomment the next line for Arduino DUE
UTFT myGLCD(CTE28,25,26,27,28);

uint16_t sample[321];
void setup() {
myGLCD.InitLCD();
myGLCD.clrScr();
myGLCD.setColor(255, 255, 255);
}
void loop() {

for (uint16_t i = 1; i < 320; i++) {
sample = analogRead(A0);

  • }*
  • if (sample[319] > 512) {*
  • myGLCD.clrScr();*
  • for (uint16_t i = 1; i < 319; i++) {*
    _ myGLCD.drawLine (i, 120 - sample*, i + 1, 120 - sample[i + 1]);_
    _
    }_
    _
    }_
    _
    }*_

Learn how to use code tags...... And that code won't even compile..... so I don't see how you can blame UTFT?

Are you using a Sainshit modified version of UTFT or the genuine version? The reason I ask, is I have just downloaded IDE v1.6.5 and it works fine with my existing UTFT v2.81 and CTE DUE shield.

Regards,

Graham

Long time ago .... I got i work but so Long time ago I can't remeber how.. I guess I made changes in the library.

Whooooa, way to go!! 7 Months later..........

G