Writing custom characters to LCD display


Results 1 to 40 of 60

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    These answers are so easy.

    Why do they always turn into personal attacks.

    If they don't get it. Explain it again.
    Maybe your version will make more sense.
    <br>
    No personal attack intended. I thought post #32 explained it...

    There are 8 memory locations on most LCDs, starting at $40 and ending at $78. Each custom character will be at one of these locations.
    character 0 = $40
    character 1= $48
    character 2 = $50
    character 3= $58
    character 4 = $60
    character 5= $68
    character 6 = $70
    character 7= $78

    In your code
    Code:
    lcdout $fe,$40,$08,$04,$02,$01,$01,$02,$04,$08
    writes your character to "0" position. or character 0

    To display that character on the first line, first space
    Code:
    LCDOUT $FE,1,0
    second space
    Code:
    LCDOUT $FE,$81,0
    If you have a character in the second memory location
    lcdout $fe,$48,$08,$04,$02,$01,$01,$02,$04,$08


    To display that character on the first line, first space
    Code:
    LCDOUT $FE,1,1
    second space
    Code:
    LCDOUT $FE,$81,1
    Last edited by mackrackit; - 5th October 2008 at 13:00.
    Dave
    Always wear safety glasses while programming.

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