[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: 103
Last edited:

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
 

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.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…