Text output to graphic LCD


Closed Thread
Results 1 to 33 of 33

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by F1CHF View Post
    Tell me if I am right ...
    Francois F1CHF
    You are fairly close in your thinking...
    I don't remember the thread, but there is one floating around here that deals with that 122x32 LCD that I whipped up some PBP code for, including a fairly robust font table.
    Looking at the attached datasheet, with a few changes, it should be easily adaptable to the 128x64 LCD you are talking about (change the maximum's to 128x64 instead of 122x32, change the maximum X,Y for characters from 20x4 to 21x8, all characters are 5x7(6x8 with seperator), and some other minor timing changes.

    Here it is...
    http://www.picbasic.co.uk/forum/show...ghlight=122x32
    Last edited by skimask; - 15th February 2008 at 16:42. Reason: Added thread reference

  2. #2
    Join Date
    Jan 2005
    Location
    France
    Posts
    97


    Did you find this post helpful? Yes | No

    Default

    My god ....not a piece of cake !
    Mister PBP, please create a GLCDOUT command ! hi ...
    thanks or your help
    I must work on now ....
    Francois

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by F1CHF View Post
    My god ....not a piece of cake !
    Mister PBP, please create a GLCDOUT command ! hi ...
    thanks or your help
    I must work on now ....
    Francois
    True, it's not a piece of cake....
    In the end, my code going out to the 122x32 LCD looks like this:
    @ printstr 2 , 1 , "This is a string"

    Prints "This is a string" starting at X position 2 on the 2nd line down from the top.
    You can't get a whole lot easier than that!....well, once the code is in place anyways.

    At any rate, I'll look thru that datasheet a bit harder later on. Like I said, I understand my code (nobody else likes the way I write, but that's ok). If it really is that easy to convert over to the KS type controller, I'll have a go at it sometime this weekend and let you know when I get something done up. - DONE

    See the thread referenced in Post #29 for some code for the 128 x 64 graphic LCDs...and pay heed to the notes contained. I'll start a different thread once that code is tested and verified working.
    Last edited by skimask; - 15th February 2008 at 18:46.

  4. #4
    Join Date
    Jan 2008
    Location
    lincoln uk
    Posts
    20


    Did you find this post helpful? Yes | No

    Default GLCD 132x32 with KS0713 controller

    Are these things hard to drive?
    Can I write, in PBP, simple programs to display text easily, or is it tres dificile?
    I am an Old Timer, born before 1940 but still trying to learn, some people say I am very trying!
    Rgds
    Mike

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    None de ceux que I know ne sont as this compliqué

    Basically, once you got a working example for a X controller, you just need to adapt it to another... looks easy huh?

    How to have success.. Buy both GLCD type, download and print both datasheet, buy a crate of beer, sit back and relax a little bit while comparing both datasheet.

    Then you try few things... and that's where the fun begin A swear jar is recommended
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Replies: 2
    Last Post: - 5th November 2009, 17:07
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 19:54
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  4. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  5. Serious Serial Situation Setbacks...
    By Dansdog in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 03:46

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts