baby_1
Advanced Member level 1
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
it is a nibble or byte(0x03)?
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)?