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.
yesterday i posted a similar problem with Mikroc and i managed to solve it.
today im facing the same problem in Hitech.
i only see black squares on the first row.
im using the hitech example code, but my code uses a single "port(B)".
PIC16f88-(i took care of config bits not in the code, but by...
PROBLEM SOLVED:D ok, it was obvious that the lcd does not initialize, so i reduced the Oscillator Freq from 8 to 4MHz and boom, it works:D thank you all:)
yes with a pot
---------- Post added at 17:56 ---------- Previous post was at 17:54 ----------
other data lines are grounded, but could you be more specific about "pull up resistors for all port pins"?
RW is grounded.
code without delays did not do any better:|
---------- Post added at 12:36 ---------- Previous post was at 11:12 ----------
any idea?:(
the code works fine on Proteus but not in real life:D
the clock speed is set to 8 MHz and i have chose the HS oscillator and using an 8 MHz crystal oscillator
Im trying to connect a HD44780 lcd to a pic16f874a.
I read many posts in different forums, but could not solve my problem.
I have the pic connected to the lcd just as it is in the example of Mikroc.
My code is also very similar.
I dont know if the problem is the hardware or the software.
I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.