Hello All
Currently in the process of learning ASM and trying to use MPLAB to do so.
But I'm having trouble even getting an LED to blink using a 16F876.
No matter what I try nothing happens. Think its my config and "inc"
settings causing the issuse. Recieve errors when BUILDING.....
Error[113] C:\PIC\BLINK 16F876-B.ASM 8 : Symbol not previously defined (cmcon)
Error[113] C:\PIC\BLINK 16F876-B.ASM 15 : Symbol not previously defined (trisc)
Error[113] C:\PIC\BLINK 16F876-B.ASM 16 : Symbol not previously defined (status)
Error[113] C:\PIC\BLINK 16F876-B.ASM 17 : Symbol not previously defined (portc)
Error[113] C:\PIC\BLINK 16F876-B.ASM 20 : Symbol not previously defined (portc)
Skipping link step. Not all sources built successfully.
BUILD FAILED: Tue Jan 10 19:10:57 2006
Will someone show me the right way to set the _config and "inc" settings
for a 16F876 using 10Mhz. If possible maybe a small piece of code that
blinks an LED.
Thanks any help or ideas in advance
Gordon
Currently in the process of learning ASM and trying to use MPLAB to do so.
But I'm having trouble even getting an LED to blink using a 16F876.
No matter what I try nothing happens. Think its my config and "inc"
settings causing the issuse. Recieve errors when BUILDING.....
Error[113] C:\PIC\BLINK 16F876-B.ASM 8 : Symbol not previously defined (cmcon)
Error[113] C:\PIC\BLINK 16F876-B.ASM 15 : Symbol not previously defined (trisc)
Error[113] C:\PIC\BLINK 16F876-B.ASM 16 : Symbol not previously defined (status)
Error[113] C:\PIC\BLINK 16F876-B.ASM 17 : Symbol not previously defined (portc)
Error[113] C:\PIC\BLINK 16F876-B.ASM 20 : Symbol not previously defined (portc)
Skipping link step. Not all sources built successfully.
BUILD FAILED: Tue Jan 10 19:10:57 2006
Will someone show me the right way to set the _config and "inc" settings
for a 16F876 using 10Mhz. If possible maybe a small piece of code that
blinks an LED.
Thanks any help or ideas in advance
Gordon