Go Down

Topic: TFT library compatible with Due? (Read 12251 times) previous topic - next topic

psteve

#30
Dec 25, 2012, 06:15 pm Last Edit: Dec 25, 2012, 07:38 pm by Coding Badly Reason: 1
Quote
I'm having a go at building my own driver, the mainstream libraries are too slow for games and interactivity. They all suffer a similar overhead with respect to being portable between uC's and compatible with multiple devices. Whereas I've targeted my code directly to the 2560 and the display. I'll post the code on the forums eventually.


Very interesting a faster code ... Do you can post it Here???

Many thanks & Merry Christmas

Steve

pYro_65


Quote
I'm having a go at building my own driver, the mainstream libraries are too slow for games and interactivity. They all suffer a similar overhead with respect to being portable between uC's and compatible with multiple devices. Whereas I've targeted my code directly to the 2560 and the display. I'll post the code on the forums eventually.


Very interesting a faster code ... Do you can post it Here???

Many thanks & Merry Christmas

Steve


I'll probably post the code in the display forum. If you would like to see its current performance, I have posted a video here: http://arduino.cc/forum/index.php/topic,140111.0.html

I'll also post any info on the library there. Remember my info was for a Mega 2560, not the Due. Although I guess its a good reference to see what we can expect at a minimum from the Due.

Adrculda

Hey guys...
Anyone tried the ITDB02-5.0 Touch TFT ??

Just wondering as I'm working on a DSP/DAC project and arduino due is the controller of choice running the Hifiduino code for now until I learn how to code.

evmaker

If any one has a nice library that would work on a 240 by 320 with touch screen i sure would like it .


I have been poking around with it and sort of have the one from seedstudio working, The library would like to just write the data to the register but the due registers are all in different places in due so i made it digital read and digital write. Lots of overhead and poor performance. Was quite shocked it sort of worked at all. The touch screen was not at all hard to make work, but the tft is a nightmare.

kamil_szczepan



Anyone tried the ITDB02-5.0 Touch TFT ??
i got 5 on it ;)
Its slow like my EX girl ;)

http://www.youtube.com/watch?v=u4U6vxT_m9k

alvesjc


If any one has a nice library that would work on a 240 by 320 with touch screen i sure would like it .


Hi.

This is working for a long time, at least for 16bit mode.

You have attached the library, it's the Henning Karlsen library that I've adapted to DUE.

This has already posted in a old post, but here it goes.

Regards.
www.aqualedsource.com

pdwyer

Thank you for your post about the Karlsen library.  I have installed the library and the examples compile without error.  However, I get nothing on my SainsSmart 3.2" 320x240 display which uses the SSD1289 driver.  I looked at the code samples and they are for the "uno" and "mega" boards (comment in/out appropriate myGLCD statements).  I presume the numbers assigned by myGLCD are pin specific for each processor.  I do not see any examples with the pins for the DUE board (SAM3E processor).  I tried the "mega" example" and I get nothing on my screen.  Does anyone know what the pin numbers for the DUE are?  If not, do anyone know what these pins are for (e.g., name, function) so I can look them up in the SAM3E datasheet?  Any other suggestions for getting started would be appreciated.  Thank you! 

alvesjc

Hi!

Have you completed the correct initialization to the library?

For SSD1289, you have to init with "TFT01_32".

The line:

UTFT myGLCD(ITDB32S,38,39,40,41);

should look like:

UTFT myGLCD(TFT01_32,38,39,40,41);

Don't forget to read the "UTFT_Supported_display_modules_&_controllers.pdf" file.

The pinout used is the same from mega.

Regards,

Joao

www.aqualedsource.com

pdwyer

Thank you very much!  I will try this tomorrow.  Patrick

Go Up