LCD problem

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
khaled yasin
Posts: 43
Joined: Sat Sep 13, 2008 10:36 pm
Contact:

LCD problem

Post by khaled yasin »

i connected an LCD screen to PIC16f877 and used the motion sensor2 example to see the distance on it,the lcd works fine but it gives me all black blocks,i checked the LCD pins on pic they were giving signals except for the pin B5 which is the enable pin it was always low and didn't send any output at all>>>
can some one tell me why????
what if i connect the enable pin in the LCD directly to 5volt source is that ok?????

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: LCD problem

Post by Benj »

Hello

The enable pin is being used it is just on for small amounts of time. Tying the enable pin to VDD will stop the display from working altogether. Are you running the LCD Start macro at the start of your program. If you are experiencing LCD startup problems then calling this macro twice at the start of your program should get rid of any problems.

Post Reply