Mercury
Member level 3
- Joined
- Oct 7, 2003
- Messages
- 67
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 612
mplab 6.30
Hello!
Am am starting to use the PIC MCUs. So far I have been using the AVRs ( which are by the way great ) but now I would like to try something different.
I have installed the MPLAB IDE v6.30, and followed the MPLAB IDE Quick Start Guide. I have written the code on page 9 ( or 5 ). I fail to compile, Reason:
Error[113] H:\PIC\CNT452.ASM 15 : Symbol not previously defined (wreg)
Error[113] H:\PIC\CNT452.ASM 16 : Symbol not previously defined (portc)
Error[113] H:\PIC\CNT452.ASM 17 : Symbol not previously defined (trisc)
Error[113] H:\PIC\CNT452.ASM 25 : Symbol not previously defined (portc)
OK, the problem here is that the #include statement is not working. However, the assembler finds the file because I don't get the File Not Found error. It simply doesn't include the .inc file as it should. So what am I doing wrong???
Best Regards
George
Hello!
Am am starting to use the PIC MCUs. So far I have been using the AVRs ( which are by the way great ) but now I would like to try something different.
I have installed the MPLAB IDE v6.30, and followed the MPLAB IDE Quick Start Guide. I have written the code on page 9 ( or 5 ). I fail to compile, Reason:
Error[113] H:\PIC\CNT452.ASM 15 : Symbol not previously defined (wreg)
Error[113] H:\PIC\CNT452.ASM 16 : Symbol not previously defined (portc)
Error[113] H:\PIC\CNT452.ASM 17 : Symbol not previously defined (trisc)
Error[113] H:\PIC\CNT452.ASM 25 : Symbol not previously defined (portc)
OK, the problem here is that the #include statement is not working. However, the assembler finds the file because I don't get the File Not Found error. It simply doesn't include the .inc file as it should. So what am I doing wrong???
Best Regards
George