pic 16f877a key bad not function

Thread Starter

emad shaaban

Joined Apr 10, 2012
8
hi all
i used pic 16f877a to read numbers from kay bad and display them in LCD (16x2) all the programe is function in proteus but in real the Lcd is working properly but i can not enter any number
(i used R10K to ground in each kay colm) ( con figuration bit all disable save HS an WRT=WRT_half),
plz help
 

Attachments

atferrari

Joined Jan 6, 2004
5,022
What means "kay bad"? Maybe "keypad"?

If what you say is that your keypad does not work at all, show the settings of the port involved.

Are you aware of the difference between pull-up and pull-down resistors?

Show code.
 

chrisw1990

Joined Oct 22, 2011
551
ugh. i cant help then. try uploading a picture of the flowcode? i imagine flowcode uses flowchart style layouts? so take a screen shot? must be able to export!
 

Thread Starter

emad shaaban

Joined Apr 10, 2012
8
dear all
i than you all for your replies , i found the problme it was in the configuration bits WRT(wrt=enable) ,the correct is to put in(wrt=wrt_half), but i concloded that by luck ,coud any one till as what is the function and the reasone
thankyou
 

chrisw1990

Joined Oct 22, 2011
551
look in the datasheet. its the memory protection bits. someone else had the same problem the other day, exactly the same.. does noone read the datasheet?
 
Top