Pages: [1]   Go Down
Author Topic: SED1335 with GLCD V3?  (Read 790 times)
0 Members and 1 Guest are viewing this topic.
Maaseik, Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I want to buy a LCD 320x240 touch panel :
http://www.ledsee.com/index.php?page=shop.product_details&flypage=flypage.tpl&product_id=129&category_id=23&option=com_virtuemart&Itemid=1

It has a SED1335 controller onboard. Can I use it with the GLCD V3 library?
I have a arduino MEGA2560.

Thanks for now.
Logged

Dallas, TX USA
Offline Offline
Edison Member
*
Karma: 47
Posts: 2334
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Unfortunately, the answer today is no.
I took a quick look at the datasheet and while the electrical connections are very similar
to other glcds that are supported, the comands are a bit different.
But the biggest stumbling block today will be that the pixel coordinates are larger than 255.
While there is no real technical limitation for restricting the pixel coordinates to 8 bit values, it
does save code space, given the AVR is only an 8 bit processor.
Michael and I had talked about changing the code to use a data type for the pixel parameter
vs using a uint8_t but to maintain full backward compability with v2 we decided to defer this
until a future release as the ks0108 v2 release used uint8_t types for all the lcd pixel coordinate values.

The eventual solution may be to to use a datatype than mutates between an 8 bit and a 16 bit size depending
on what the display needs.

But for now, sorry the glcd v3 library doesn't support that display.

--- bill

Logged

Maaseik, Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So I have to look for library, do you have any suggestions?

If I understand it right, the GLCD V3 cannot control a 320 x 240 display?
Logged

Dallas, TX USA
Offline Offline
Edison Member
*
Karma: 47
Posts: 2334
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So I have to look for library, do you have any suggestions?

If I understand it right, the GLCD V3 cannot control a 320 x 240 display?

Today,  that is correct. glcd v3 is coded with 8 bit values for all the parameters and working
variables so it can't handle pixel coordinate values over 255.

Since I hadn't looked at that particular display before I'm not much help in knowing
if there are any existing libraries for it floating around out there.
So I'm not much help there.

--- bill
Logged

Maaseik, Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OK, I will look further.

Thanks for now, Bill  smiley-wink


Logged

Pages: [1]   Go Up
Jump to: