+ Reply to Thread
Results 1 to 3 of 3

Thread: KS0108 glcd - best way to write ?

  1. #1
    richard.c Okay
    Join Date
    May 2007
    Location
    England
    Posts
    155

    Default KS0108 glcd - best way to write ?

    Hi,

    We have just written and run output routines to produce text and bitmap images on the KS0108 display with Pic assembler.
    At the moment we have outputted all the data to chip1 then switched to chip 2 and outputted all its data.
    However, it is also possible to output the first row of data to chip1, then switch to chip 2 and write out its first row, then switch back to chip 1 for row2 etc etc.

    Just wondered if there is any thought on which way is better to way use, particulalry for when we get into some of the more advanced display methods ?
    - apprieciate the latter way is a bit slower due to switching the chips so much.

    Thanks


  2. #2
    Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent
    Join Date
    Mar 2005
    Location
    Brisbane Australia
    Posts
    6,805

    Default

    I wrote some routines a while ago that write to either display as required. Unfortunately, they are in C18. Fortunately the principle is the same. If your interested you will find them attached to the 10th post of this thread.

    Edit, BTW, the speed hit is not too bad when writing to either display on demand as the majority of the time the processor is waiting for the display. In fact, writing alternate sides would be faster as the down times would overlap but not practicable except for screen dumps.

    Mike.
    Last edited by Pommie; 3rd December 2008 at 09:29 AM.

  3. #3
    richard.c Okay
    Join Date
    May 2007
    Location
    England
    Posts
    155

    Default

    Mike,

    Thanks for that - your demo works fine.

+ Reply to Thread

Similar Threads

  1. KS0108 using Assembler Examples ??
    By bryan in forum Micro Controllers
    Replies: 2
    Latest: 2nd March 2010, 10:15 PM
  2. Parallel port control port: is it Write Only or Read/Write
    By elexhobby in forum Electronic Projects Design/Ideas/Reviews
    Replies: 6
    Latest: 23rd December 2008, 10:18 AM
  3. need help in glcd
    By darsin in forum General Electronics Chat
    Replies: 23
    Latest: 17th July 2008, 04:30 PM
  4. C18 + KS0108 Graphic LCD Library
    By andret in forum Micro Controllers
    Replies: 9
    Latest: 7th July 2008, 01:51 AM
  5. Which LCD KS0107/KS0108 or T6963 or ...?
    By jhanus in forum Micro Controllers
    Replies: 18
    Latest: 24th June 2008, 05:50 PM

Tags for this Thread