CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

SED1335 again.

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
dezso



Joined: 04 Mar 2010
Posts: 102

View user's profile Send private message

SED1335 again.
PostPosted: Sun May 09, 2010 10:49 am     Reply with quote

Please help me on this problem I'm having with this display.
I have recently seen a you-tube video of some sed1335 display demonstration.

I got my display driver to stop flicker completely, however the write speed is painfully slow, it takes to turn a 10x30 pixel area from white to black approximately 1/2 second, in this video the whole screen update in a fraction of my time. I have sent him a message but no response.

What could be the problem with my driver? I need a 2x/ second update on certain area of the display, like clock, and graph.
I have read the data-sheet many times, analyzed many driver written for AVR and PC-linux/Dos, I don't see them worrying about timing at all or reading the D6 status.
I'm using the original sed1335.c and a modified graphics.c.
Timing isn't a big deal in my project, the few minimum timing criteria is definitely met and the max are most don't care or not important.

At this time the LCD is connected to a Vero Bread Board with 10" single wires, this could have anything to do with the flicker ?

If some of you have some time to look in to the data-sheet and try to understand what I am doing wrong, that would be great.

I could send the individual my complete project file, once we figure out how to drive this LCD properly then we can upload it here for every one else...
_________________
I'm could be wrong many time's, at least I know what I'm doing Smile
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun May 09, 2010 12:50 pm     Reply with quote

Post a test program that calls glcd_rect() in graphics.c. First call it with
color=ON, and then color=OFF. Do this in a while loop in main().
The complete test program can probably be done in 10 lines, including
the preprocessor statements (#include, #fuses, #use delay) and the
call to glcd_init(). You can do it in 10 lines. Don't post all the Wizard code.

Don't post the drivers. Just #include sed1335.c and graphics.c in the
program. Then run it and post the update speed that you see on the lcd.
Time it with a stopwatch. Also post your compiler version.

If you do this, then I can try to duplicate the problem.
dezso



Joined: 04 Mar 2010
Posts: 102

View user's profile Send private message

PostPosted: Sun May 09, 2010 8:16 pm     Reply with quote

I did some more testing, and here is where I stand now.
Video 1 show how is the buttons selected/deselected now Video 2 is using layers, the black square drawn and erased in the background disabled layer.

Video 3 show the final gui, 2hr later I realized I cant turn the whole layer off to make change on the drawing since everything on that layer will hide
_________________
I'm could be wrong many time's, at least I know what I'm doing Smile
dezso



Joined: 04 Mar 2010
Posts: 102

View user's profile Send private message

PostPosted: Sun May 09, 2010 10:41 pm     Reply with quote

I'll do that tomorrow.
Thanks
_________________
I'm could be wrong many time's, at least I know what I'm doing Smile
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group