mustafahasan
Newbie
hello everybody,
Iam doing a project (keypad for enter the direction then to chose the speed of dc motor and measure the frequency with pic18f4580) and am using the mikroc PRO and the proteus to simulate my project,
the project is running successfully in simulation, BUT when I try to implement it in real work at the first the lcd gave me the message press 1 for cw and 3 for ccw then the lcd display random number .
is there are any mistake in my code? why its work in simulation perfect while it is not in real implementation?
anyone faced such a problem? how can I resolve? what things can cause such a problem?
my code and proteus in the attachments
any more explanation can be made upon request,
I will be thankfull for any help.
Regards.
Iam doing a project (keypad for enter the direction then to chose the speed of dc motor and measure the frequency with pic18f4580) and am using the mikroc PRO and the proteus to simulate my project,
the project is running successfully in simulation, BUT when I try to implement it in real work at the first the lcd gave me the message press 1 for cw and 3 for ccw then the lcd display random number .
is there are any mistake in my code? why its work in simulation perfect while it is not in real implementation?
anyone faced such a problem? how can I resolve? what things can cause such a problem?
my code and proteus in the attachments
any more explanation can be made upon request,
I will be thankfull for any help.
Regards.