View previous topic :: View next topic |
Author |
Message |
Sterngleiter
Joined: 07 Jan 2013 Posts: 90
|
|
|
ezflyr
Joined: 25 Oct 2010 Posts: 1019 Location: Tewksbury, MA
|
|
|
Sterngleiter
Joined: 07 Jan 2013 Posts: 90
|
|
Posted: Thu Aug 21, 2014 11:49 am |
|
|
It is Not the same,I need enlightenment, it would be very nice if someone would take |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9245 Location: Greensville,Ontario
|
|
Posted: Thu Aug 21, 2014 1:02 pm |
|
|
Note: this is a 3Volt device, so choose an 'L' version PIC or at least one that will operate at 3 volts.
That display has both LCD and a touch screen so you need to break your project into two parts.
1) sending data to the LCD. It uses an SSD1289 'controller' chip, so use Google to locate a 'driver' for it. There are several, though I didn't see a CCS C one in the brief time I looked......it does appear to require a 16 bit data bus as the Ebay picture was helpful with the pinout.
this link....
http://320volt.com/en/ts8001-tft-grafik-glcd-ornegi-pic18f4680-ccs-c/
... may be useful, appears to be a good starting point ?
2) sending touchscreen data to the PIC. This LCD uses SPI to communicate to the touchscreen peripheral. Again let Google be your friend and locate a driver.
Without having a unit here, I can't code a driver for it, as I have no way of testing it. I strongly suggest getting #1 done first, sending data to the LCD.
hth
jay |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Aug 21, 2014 3:01 pm |
|
|
The simple rule to prevent this pain, is don't buy something unless you
have a driver for it ahead of time. Or at least, you must have a good
example driver that can easily be converted to CCS. |
|
|
KansaiRobot
Joined: 25 Nov 2015 Posts: 5
|
|
Posted: Wed Nov 25, 2015 12:33 am |
|
|
I know this is old, but when you say "driver" you mean the software to control the driver , right?
XPT2046 is just SPI. So if you write SPI code it is supposed to work.
(I say supposed because right now, my code is not working )
Should I start a new thread? (because it is about this very same controller I thought maybe this thread would be ok |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Nov 25, 2015 1:21 am |
|
|
Yes, by 'driver', I meant a software driver (source code).
A new thread for your problem would be better. |
|
|
|