Problem on how to make PORT A of PIC16F877A as an input port

Thread Starter


Joined Sep 22, 2006
Hello Guys...

I'm doing my final year project. the project is about a swing tempo device for golf..the problem is I do not know how to make a push button as an input..for ur information..I'm using PORT A as an input port....actually the circuit is complete...but the problem is in programming....FYI...i wrote the program in C i attached my circuit diagram and program that i've wrote....hope u guys that good in programming can help me....TQ:) View attachment ice1.pdf