I struggled with this display, then finally I found the data sheet and worked through until I got the display workingI have the 2.8 inch displayThe data sheet is at http://www.rockbox.org/wiki/pub/Main/CreativeZENXFi/DS-S6D0139_V0-5_Preliminary.pdfThe offending code sequence is in LCDTFT.cpp which results in the whitewashed colours0x0002, 0x0700Comment out the line and try your code again// 0x0002, 0x0700, // field 0 b/c waveform xor waveformI've attached a ZIP file of the TFTLCD library from my Arduino software, which has been modifiedAnd a copy of a test file that should be useable with the libraryAnyway, I hope this helpsAndrew
I have only a problem with graphicstest = all is inverted !..... I must see the display in a mirror.have you had the same problem?.
I spent quite a while trying several "libraries" out with no success. Just a white screen.I finally settled in on using the AdaFruit AdaTFTLCD library. I started putting serial print statements within the readID method and the problem went away. The sample code I'm using looks like this tft.reset(); uint16_t identifier = tft.readID();By putting a delay (serial.print statement) into readID , I was allowing the reset operation to complete! I have not looked at the specs for the chipset which drives the display BUT it is often the case that a hardware reset takes a lot of time. In the end I put a delay(500) inside of the tft.reset method. I now read the device id successfully and have everything working.You could also put the delay into the arduino setup code like this tft.reset(); delay(500); uint16_t identifier = tft.readID();
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16