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 support@ccsinfo.com

WG320240B CCS drivers

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



Joined: 03 Mar 2008
Posts: 55

View user's profile Send private message

WG320240B CCS drivers
PostPosted: Sat Jan 31, 2009 9:29 am     Reply with quote

plop,

i want to use this LCD screen for a personal project
it has a S1D13305 controller, wich is compatible SED1335

as you can see in the datasheet, SEL is used for selecting 6800 or 8080 mode.

and CCS drivers were design for the 8080 mode

and i noticed something odd on my display, with my multimeter in "ringing mode" if i touch VDD and SEL it rings.

which mean i forced to use 6800 mode, can i do something about it? i mean, it's weird. what is this pin for if i can't use it

thanks

http://sliders.alpha.free.fr/sleeproject/WG320240B.pdf

also, what is frame ground for?
_________________
yup, i know, i don't speak english very well

CCS V4.057
sliders_alpha



Joined: 03 Mar 2008
Posts: 55

View user's profile Send private message

PostPosted: Sun Feb 01, 2009 3:31 am     Reply with quote

well, it was forced to Vss not VDD, so no problem^^

but, i wired him up like that :



and made this code :

SED1335.c :

Code:

#ifndef GLCD_RST
#define GLCD_RST           PIN_C4
#endif

#ifndef GLCD_RD
#define GLCD_RD            PIN_c2
#endif

#ifndef GLCD_WR
#define GLCD_WR            PIN_c1
#endif

#ifndef GLCD_CS
#define GLCD_CS            PIN_c3
#endif

#ifndef GLCD_A0
#define GLCD_A0            PIN_c0
#endif


program :

Code:

#include <16F877A.H>
#fuses HS, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
#use delay(clock = 20000000)

#define LARGE_LCD 1
#include<sed1335.c>
#include<graphics.c>

//==========================

void main()
{
delay_ms(500);
glcd_init(ON);

   while(1)
      {

      delay_ms(500);
      glcd_fillScreen(ON);
      output_toggle(pin_c7);
      delay_ms(500);
      glcd_fillScreen(OFF);
      output_toggle(pin_c7);
      }
}


The only thing I get is vertical and horizontal line who aren't moving, they appear at a random place each time power it on.
_________________
yup, i know, i don't speak english very well

CCS V4.057
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