PDA

View Full Version : @ Device Pic16f84a, Hs_osc



chip_select
- 29th March 2008, 16:14
Hi, I have tried to add this line of code, in head to the program, as suggested by MELANIE:

@ DEVICE PIC16F84A, HS_OSC

and the program communicates me the following error:

Error [122] c:\eeprom\untitled.asm 93: Illegal opcode (HS_OSC)


thx
chip_select

the oscillator is of 20MHZ
with XT me from the same error

mackrackit
- 29th March 2008, 17:03
Have you commented out the correct lines in the *.inc file?

Melanie
- 29th March 2008, 17:26
@ DEVICE pic16F84A, HS_OSC


It works and compiles just fine with the command line...

pbp -p16f84a myfile -v