@ Device Pic16f84a, Hs_osc


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2008
    Posts
    22

    Smile @ Device Pic16f84a, Hs_osc

    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

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Have you commented out the correct lines in the *.inc file?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Code:
    	@ DEVICE pic16F84A, HS_OSC
    It works and compiles just fine with the command line...

    pbp -p16f84a myfile -v

Similar Threads

  1. Watchdog Timers
    By Squibcakes in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th August 2014, 18:03
  2. RF Modules
    By tonyfelloni in forum mel PIC BASIC Pro
    Replies: 44
    Last Post: - 26th June 2010, 17:42
  3. help
    By zugvogel1 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th February 2005, 20:42
  4. Need once your help one please
    By zugvogel1 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 9th February 2005, 20:33
  5. @ Device Parameters
    By Randy_Suwanee in forum General
    Replies: 2
    Last Post: - 11th August 2004, 14:40

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts