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.

[PIC] Changing Font size for Display in LCD

Status
Not open for further replies.

khaleel.arya

Junior Member level 2
Joined
Apr 10, 2015
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
INDIA
Activity points
155
MPLAB 8.8
disP30F5011
LCD - JHD629-204A

Hi,
I have interfaced an 20x4 LCD to my controller and that is abosultely working fine. I am bit confused about chaning its font size. In attachment 1 page 7 , Table 2 data sheet describes that I can modify Binarys in Function Set. By changing the values, I found no difference in font size. How can I modify with difference ?

Regards ,
Khaleel
 

Attachments

  • lcd1 Part -1.pdf
    216.3 KB · Views: 5
Last edited:

esp1

Advanced Member level 1
Joined
Sep 4, 2007
Messages
401
Helped
139
Reputation
278
Reaction score
139
Trophy points
1,323
Location
England
Activity points
3,372
hi,
My LCD manual states:
Note: Perform the Function at the head of the program before executing all instructions [except Busy read]
From this point the Function set instructions cannot be executed unless the Interface data length is changed.
E
 

khaleel.arya

Junior Member level 2
Joined
Apr 10, 2015
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
INDIA
Activity points
155
hi,
I have already initialized function set before all instructions but it doesn't work.


here is my initialisations...
Code:
	TOPORT(0b00000011); 			// sync LCD and Microcontroller step 1
	TOPORT(0b00000011);			// sync LCD and Microcontroller step 2
	TOPORT(0b00000011);			// sync LCD and Microcontroller step 3
	TOPORT(0b00000010);

	XLCDCommand(0x24);				// function set 4-bit,2line,5x10
	XLCDCommand(0x01);				// clear lcd
	XLCDCommand(0x06);				// entery mode
	XLCDCommand(0x0C);				// display and cursor OFF
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top