Hello Kobus, Although I can't give you the C code since it was written for a client, there are some hints that I think would be helpful, We are using the 50840 module from Optrex that contains the 6963 controller and are interfacing it to a Pic 17C56A. The two main items are the initial register load which sets the operational behaviour of the device and the methods of addressing the memory in order to get pixels to appear. The initial set-up is crucial and normally takes a while to get it exactly correct and see anything worthwhile on the screen. This is complicated by the fact that virtually none of the tech support folks really know how to make it work in your application. We spent four weeks with them reviewing our code and register loads, all the while proclaiming that the code was correct (It was). The problem turned out to be a need for a buffer chip between the Pic and the module to solve the drive problems and the fact that we were driving it at 5 V when the spec said 3.3. (The 3.3 volts turned out to be a red herring, but the buffer worked.) Frankly, once the driver chip is painting something intelligent on your LCD, it is cake to get the rest of your application going. One word of caution is to include a dirt simple pattern generator in your code -- At times it is tough to convince the hardware folks (or yourself if you are doing the whole design) that, in fact, the software is providing the right signals. (We spent a total of 6 weeks before the module was working correctly.) I presume that you have the data sheets from Epson at http://www.erd.epson.com/vdc/pdf/1376/contents.html. (You may need the Japanese language add-ons to Acrobat -- Even though the text is all in English, some of the graphics were evidently created on a program that requires the language and often it will not display anything without the adder.) Feel free to give me a holler if you need any more detailed info. Tom Mariner > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Kobus du Toit > Sent: Sunday, June 03, 2001 12:09 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: [OT]:How do you use an SED LCD Graphics controller? > > > Hi > > I searched through the archives of this list, deja.com and microchip. > > Does anybody have any C code that I can look at how to control a > mono graphics LCD screen using one of the SED controllers from > Seiko-Epson? I would actually like code that controls the 13706 > (SED1376, S1D13706), but if I can see how other controllers are > used > I might be able to figure out what to do. > > If someone doesn't have the code, is there some place where I > can > learn how to use graphics controllers? > > The documentation of the controller has basic algorithms to do > things, > but I still don't know which ports to use to do what. > > I am not stuck with the controller yet, but I do need a > controller that > can drive a graphics LCD 480x320. If there are other > controllers with > code in C that I can use, I don't mind. I just need to learn > the basics > first of using a graphics LCD. > > Kobus > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. > > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body