Hi there,
I am at the very early stages of programming in C in MPLAB X using the compiler XC8.
Whilst I have a breadboard setup hooked up to a PicKit3 its my intention to run the debug functionality in the IDE first so I can best see if the program is working as I want it to.
Initially a very simple program, each time you press a switch it scrolls through 3 LEDs - hopefully the beginnings of a bigger project.
My question is this. When running in debug mode I want to set portB RB5 to low and get the simulator to step into the interrupt routine. I have the window/pic memory view/SFR displayed and with the program looping endlessly I try and change the value of PORTB and it just keeps looping.
My program is included as a file:
Kind Regards
Simon
I am at the very early stages of programming in C in MPLAB X using the compiler XC8.
Whilst I have a breadboard setup hooked up to a PicKit3 its my intention to run the debug functionality in the IDE first so I can best see if the program is working as I want it to.
Initially a very simple program, each time you press a switch it scrolls through 3 LEDs - hopefully the beginnings of a bigger project.
My question is this. When running in debug mode I want to set portB RB5 to low and get the simulator to step into the interrupt routine. I have the window/pic memory view/SFR displayed and with the program looping endlessly I try and change the value of PORTB and it just keeps looping.
My program is included as a file:
Kind Regards
Simon