Pic 16f877a simulation problem

Thread Starter

mahmoud0i0d

Joined Sep 25, 2013
1
Hey guys .. I'm glad to participate in this Forum .. that's my first thread .. too bad it's a problem with the simulation :rolleyes: .. Here is the thing . I'm a beginner in programming using C .. and I wanted to make a project using an lcd and a keypad to open a safe .. I wanted it to turn off the system after 4 wrong passwords the problem is when I type the right password the program reads it as wrong .. I don't know why .. That's the simulation pic

and here is the rar file of the code and the simulation I hope u can help
http://www.fileswap.com/dl/aC7cZ1Px6H/
 

tshuck

Joined Oct 18, 2012
3,534
I really dislike how Proteus allows users to simulate a PIC without an oscillator of any kind.

You should post your code as text in your post (between code tags, of course) because many people will not go download some random file from some random website and attempt to run it, myself included.
 

ErnieM

Joined Apr 24, 2011
8,377
In the real world LCD displays typically need a potentiometer to set the contrast.

There are exceptions but so rare I always start by putting one in; it can get a DNP for "production".
 
Top