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.

Write LCD 16*2 4bit interface with Mplab and

Status
Not open for further replies.

baby_1

Advanced Member level 1
Joined
Dec 3, 2010
Messages
415
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
4,277
Hello
i wrote a function that send a byte to 4bits output high-nibble & low-nibble (micro PIC18f452).
i have some question about it

https://www.bipom.com/documents/appnotes/LCD%20Interfacing%20using%20HD44780%20Hitachi%20chipset%20compatible%20LCD.pdf

1-if we have a command (for example 128 decimal) i send it to my function the function should set
128=10000000(Binary)

for example High-nibble(1000)

D4=1
D5=0
D6=0
D7=0

or

D4=0
D5=0
D6=0
D7=1

2-in the pdf file that i attached
Write 0x03 to LCD and wait 5 msecs for the instruction to complete

it is a nibble or byte(0x03)?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top