Writing custom characters to LCD display


Closed Thread
Results 1 to 40 of 60

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Iran
    Posts
    94


    Did you find this post helpful? Yes | No

    Default

    thanks for your help,i wrote my character on LCD but what should i do if i want to write all 16 character on LCD in both line 1 and 2? we just have 8 location for RAM.should i overwrite on location 0 to 7 again? is my character in first 8 space deleted or it continue writing automatically on next 8 space?

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Not sure I understand.

    The LCD can store 8 custom characters. You can display any of them as many times as you want. You can use one and fill all of the display places on the LCD.

    Back up on post #32 shows how.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Aug 2006
    Location
    Iran
    Posts
    94


    Did you find this post helpful? Yes | No

    Default

    i want to write a sentence with 32 character in another language (not English) on LCD.(so i have to make new fonts) how can i show these 32 character on a 2*16 LCD?

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default

    The custom character is just stored at the custom character location. On screen appears a 'copy' of that, not the character itself, if you understand what I mean.

    So, you can creat up to 8 characters, store them at their place, and then display that character to the location you want, as many times you want. The LCD just copies the custom character to the location on-screen you specify. Isn't this the same when you display e.g. "AAAAA"?

    But remember, when you power off, all are gone. You have to reload the characters on power up.

    Ioannis

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default

    It seems that you posted the same time as I did!

    Now I understand what you want. No, you cannot do that the simple way of "blah blah blah".

    You have to fetch each character on its own. Unless, the magician Darrel has another macro available to do the job!

    Ioannis

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ioannis View Post
    You have to fetch each character on its own. Unless, the magician Darrel has another macro available to do the job!
    I don't think even Darrel has the magical mystical powers to pull this one off...at least not with a standard parallel LCD.

  7. #7
    Join Date
    Aug 2006
    Location
    Iran
    Posts
    94


    Did you find this post helpful? Yes | No

    Default

    i want to write this sentence on LCD(this sentence is in Farsi language):
    دما و رطوبت را وارد کنید
    i have made the new fonts but i have a problem to show all of the sentence on LCD.how can i show all these custom fonts on LCD in 2 lines (the first 14 on first line and the next on second line).
    i put دما in location 0,1 and 2 of RAM and show it on lcd and then make one space with lcdout" " and put the رطوبت in location 0,1,2,3,4 of RAM and when i wan to show it. it doesn't shows those 2 words, it's just shows the second word.( not completed),what's the problem?

  8. #8
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default

    When you put the second group of characters at locations 0,1,2,3 don't you overwrite the previous characters?

    The problem as I understand is that you need many characters and you have only 8 available.

    One solution would be to constantly reload the custom characters with the ones you want to display. But you cannot display them at the same time...

    Ioannis

Similar Threads

  1. LCD Display
    By lambert in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 16th January 2010, 22:18
  2. assembly in Pic
    By lerameur in forum Off Topic
    Replies: 11
    Last Post: - 1st May 2008, 20:06
  3. Replies: 14
    Last Post: - 26th September 2007, 05:41
  4. Crystalfontz LCD
    By jman12 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th February 2007, 15:04
  5. LCD Display not working - PIC heating...
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 24th September 2006, 07:35

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