Quote Originally Posted by modifyit View Post
When the pic16f876a starts up Pins C.1 and C.2 go high for a split second before returning to the desired low state. Does anyone know if this is just the nature of this chip, or if there is a register I can change to keep this from happening.

When I watch the port in a simulator program I can see the pin being held high on startup, so I'm guessing it is not a hardware issue.

For reference I have the following port initialization at the beginning of the code:

PORTC=%00000000
TRISC=%00000000

Thanks for any insight
While I believe Paul hit the Duck when he said the simulator had to make a decision as to startup status . . . I was thinking about the order of listing PORTC and TRISC, it seems to me you should tell the program to make the ports outputs before driving them low. <B> and maybe I'm just talking out of my hat!</B>
JS