Hello members,
I'm working on restoring our Baseball Scoreboard and I have knowledge with Electronics but this is the new beginning with PIC Code. I have managed to read everything I can find on programming in C and Assembly.
I have a couple of odd errors that I have looked at and can not answer why it won't work.
Using two programs (CodeBlock) (MPLAB X IDE).
Here is the code that I need help with
John
I'm working on restoring our Baseball Scoreboard and I have knowledge with Electronics but this is the new beginning with PIC Code. I have managed to read everything I can find on programming in C and Assembly.
I have a couple of odd errors that I have looked at and can not answer why it won't work.
Using two programs (CodeBlock) (MPLAB X IDE).
Here is the code that I need help with
Rich (BB code):
main
{
ORG 0x00 /*This is where the PC points to on power up and reset*/
goto main /*Goto our main program */
ORG 0x04 /*This is where our interrupt routine will start*/
retfie /*This tells the PIC that the interrupt routine has*/
/*finished and the PC will point back to the main program*/
}
Last edited by a moderator: