LCD command [watch the numbers in red how do we choose them?] - help!! help!!-

Status
Not open for further replies.

zeeba

Junior Member level 2
Joined
Sep 26, 2010
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,424
Hi
I want some help to anderstand this code specially Initialise the LCD [LCD commands] >>watch the numbers in red how do we choose them??

I tried it on the board but nothing was displayed on the LCD what is the problem??

 

these are LCD instructions sent to the command register of LCD.. probably u re choosing the wrong values.. for detailed list of values check out the description section in this **broken link removed**.
 
Iam using PIC16F876A and LCD is HD44780U
I've simple things in the original code inorder to suit my PIC but still it's not working
what do you think the problem is??
the code in the first post is with the changes I made
 

m not very sure.. but check the instruction codes 0x20 and 0x28.. are they the write commands for desired functions?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…