8-Bit LCD examples? I cannot get any 4-Bit LCD code to work

General discussion on mikroC PRO for 8051.
Post Reply
Author
Message
Edward1
Posts: 9
Joined: 20 Dec 2014 01:45

8-Bit LCD examples? I cannot get any 4-Bit LCD code to work

#1 Post by Edward1 » 09 Jan 2015 04:50

It seems like all of the MikroC 8051 code samples I find are for 4-Bit LCD. I have tried to convert a MikroC 4-Bit LCD example to 8-bit without success, but engaging presently.

I'm unsure why my common 1602 LCD won't operate in 4-bit mode, they are displaying a couple of the stored characters and many random senseless characters in the MikroC LCD example. Each time Reset is pushed they change.

Are the LCD and LCD_Constants libraries for 4-bit only?
Any 8-bit example MikroC projects or code appreciated.

User avatar
nemanja.nikolic
Posts: 171
Joined: 01 Dec 2014 10:50

Re: 8-Bit LCD examples? I cannot get any 4-Bit LCD code to w

#2 Post by nemanja.nikolic » 09 Jan 2015 17:01

Hello,

There is only 4bit library for 8051.You must write own library or find some code on internet for 8bit library.
Here is one library for PIC but we don't have source code:
http://www.libstock.com/projects/view/1 ... bit-driver

Nemanja.

Best regards.

Post Reply

Return to “mikroC PRO for 8051 General”