+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Member level 1
    Points: 652, Level: 5
    crazy-igzp's Avatar
    Join Date
    Feb 2014
    Location
    Settat, Morocco
    Posts
    34
    Helped
    0 / 0
    Points
    652
    Level
    5

    Writing custom characters to LCD display

    Hi all. Tried a search but did not find any answer.
    My current application is using the pic 16f877 displaying data onto an LCD 2x16 display (can't remember the details about the model). I would like to display a couple of custom characters like male or female, I'm using Micro C.
    any ideas?
    --------------------
    jaize (crazy-igzo)

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 2
    Points: 3,760, Level: 14
    Achievements:
    7 years registered

    Join Date
    May 2012
    Posts
    504
    Helped
    118 / 118
    Points
    3,760
    Level
    14

    Re: Writing custom characters to LCD display

    Its very easy to set custom characters for the LCD 2x16 display, one tip after you have define the custom character you will have to re position the cursor address.


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  3. #3
    Full Member level 2
    Points: 1,689, Level: 9

    Join Date
    Nov 2012
    Location
    India
    Posts
    133
    Helped
    2 / 2
    Points
    1,689
    Level
    9

    Re: Writing custom characters to LCD display

    MikroC got its own Custom LCD tool use it.


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  4. #4
    Full Member level 6
    Points: 4,254, Level: 15

    Join Date
    Nov 2005
    Location
    Norway
    Posts
    344
    Helped
    75 / 75
    Points
    4,254
    Level
    15

    Re: Writing custom characters to LCD display

    If you are using a LCD display with a HD44780 controller from Hitachi, or some other compatible clone, you can program up to 8 characters into the CG RAM. To use these in your text, you just write the character codes '00' to '07' to the display. You will need to program the patterns when initiating the display. Each character use 8 bytes to make a pattern, in the 5x7 character set, a total of 64 bytes for 8 characters.

    To do this you should study the datasheet for the controller.


    1 members found this post helpful.

--[[ ]]--