Hopefully you all can help a noob.
I'm trying the simple blinking led project and it works fine in two separate simulators, but when I burn it on the pic, it won't do anything that requires timing.
I can set GP<2:0> high and they go high. If I put a delay between them, it only sets the first and then nothing. The same applies to a for/while/if statement. It stops at the first line. I also tried to use a TM0IF to blink the led. NO GO. All these attempts worked in the simulators.
I've been searching and playing with many settings for 8 hours.
Thanks in advance or any input you might have.
FYI I'm using Mlab and xc8 with a 12f683 pic.
I'm trying the simple blinking led project and it works fine in two separate simulators, but when I burn it on the pic, it won't do anything that requires timing.
I can set GP<2:0> high and they go high. If I put a delay between them, it only sets the first and then nothing. The same applies to a for/while/if statement. It stops at the first line. I also tried to use a TM0IF to blink the led. NO GO. All these attempts worked in the simulators.
I've been searching and playing with many settings for 8 hours.
Thanks in advance or any input you might have.
FYI I'm using Mlab and xc8 with a 12f683 pic.