Re: Timing issue

Originally Posted by
mackrackit
It should not make a difference, but it might... Bits 0 - 3 in the OSCCON are status bits. Try setting OSCCON = 100000
You have the LED pin TRISed correctly in the setup but you did not make it LOW in the setup.
TRIS sets direction, the state should also be set.
Already tried to put the OSCCON like you said. It is the same thing. like you said, they are status bits.
You can see on my code, after the TRIS instruction, that i put all the GPIO low, with:
Code:
'76543210
TRISIO = %00000001
GPIO = %00000000
Thanks and Regards;
Gadelhas
Bookmarks