Display LCD custom character


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2011
    Location
    Philippines
    Posts
    223

    Default Display LCD custom character

    I have 20x4 LCD, I'm using DT's Custom character generator to produce the following
    Code:
    'Mobot v1
      LCDOUT  $FE,$40,$1F,$15,$11,$11,$15,$15,$15,$1F  ' Cust Char #0  
      LCDOUT  $FE,$48,$1F,$1F,$1F,$11,$15,$15,$11,$1F  ' Cust Char #1  
      LCDOUT  $FE,$50,$1F,$17,$17,$11,$15,$15,$11,$1F  ' Cust Char #2  
      LCDOUT  $FE,$58,$1F,$1F,$1F,$11,$15,$15,$11,$1F  ' Cust Char #3  
      LCDOUT  $FE,$60,$1F,$1B,$1B,$11,$1B,$1B,$19,$1F  ' Cust Char #4  
      LCDOUT  $FE,$68,$1F,$1F,$1F,$1F,$1F,$1F,$1F,$1F  ' Cust Char #5  
      LCDOUT  $FE,$70,$1F,$1F,$1F,$15,$15,$15,$1B,$1F  ' Cust Char #6  
      LCDOUT  $FE,$78,$1F,$13,$1B,$1B,$1B,$1B,$11,$1F  ' Cust Char #7  
    
     ' Text
      LCDOUT  $FE,$40,$1F,$11,$1B,$1B,$1B,$1B,$1F,$1F  ' Cust Char #0  
      LCDOUT  $FE,$48,$1F,$11,$15,$11,$17,$11,$1F,$1F  ' Cust Char #1  
      LCDOUT  $FE,$50,$1F,$15,$11,$1B,$11,$15,$1F,$1F  ' Cust Char #2  
      LCDOUT  $FE,$58,$1F,$11,$1B,$1B,$1B,$1B,$1F,$1F  ' Cust Char #3  
      LCDOUT  $FE,$60,$1F,$13,$11,$18,$18,$11,$13,$1F  ' Cust Char #4
    I could display the first set of characters with no problem(LCDOUT $fe,$80,0,1,2,3,4,5,6,7 "Mobot v1"), but I'm having trouble displaying the second set of character('Text') on the same line after 'Mobot v1'. I hope anybody can help how it is done.
    I appreciate any help...

    Regards,
    tacbanon
    Last edited by tacbanon; - 9th September 2012 at 16:38.

  2. #2
    Join Date
    Jun 2011
    Location
    Philippines
    Posts
    223


    Did you find this post helpful? Yes | No

    Default Re: Display LCD custom character

    hmm..so far I think there is no way to do it...as I understood from another thread that LCD can only hold 8 character locations...

  3. #3
    Join Date
    Apr 2012
    Location
    Ptolemaida
    Posts
    50


    Did you find this post helpful? Yes | No

    Default Re: Display LCD custom character

    I will aggree with you Tachbanon. You can create only up to 8 Characters it is inside the datasheet

  4. #4
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Display LCD custom character

    One way to do it is to load each character sequence then output it to the LCD then,re-load the same character location and then output it to the LCD.
    Dave Purola,
    N8NTA
    EN82fn

  5. #5
    Join Date
    Apr 2007
    Location
    Pennsylvania, USA
    Posts
    158


    Did you find this post helpful? Yes | No

    Default Re: Display LCD custom character

    Quote Originally Posted by Dave View Post
    One way to do it is to load each character sequence then output it to the LCD then,re-load the same character location and then output it to the LCD.
    Have you ever tried this? I have and it always changed the origional character also or just gave me garbage. Some displays may work.
    Shawn

  6. #6
    Join Date
    Dec 2012
    Location
    Tennessee
    Posts
    262


    Did you find this post helpful? Yes | No

    Question Re: Display LCD custom character

    Wrong thread
    Chris


    Any man who has accomplished anything in electronics at one time or another has said... " STOP! WAIT! NOOO! Dangit.... Oh Well, Time to start over..."

  7. #7
    jonnblaze's Avatar
    jonnblaze Guest


    Did you find this post helpful? Yes | No

    Default Re: Display LCD custom character

    You can create only up to 8 Characters it is inside the datasheet

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