Im having problems with my portc in this clock project. Portc is acting as if i had the button already pushed.portb had the same problem but it was fixed easy by switching the port to digital by using ANSELH=0. I dont know what portc is set to, analog or digital. I dont think you would need my code, but if you do just tell me and i will post it.