Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Writing custom characters to LCD display

Status
Not open for further replies.

crazy-igzp

Member level 1
Member level 1
Joined
Feb 3, 2014
Messages
34
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Location
Settat, Morocco
Visit site
Activity points
255
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?
 

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.
 
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.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top