@ device ?????


Closed Thread
Results 1 to 2 of 2

Thread: @ device ?????

  1. #1
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322

    Default @ device ?????

    Hi!
    I have seen Config and have never seen "@ device PIC16F628A,HS_OSC,BOD_ON,MCLR_ON,PWRT_ON"

    Is this valid?
    How do I change it for a 20MHZ crystal?

    Thanks, Ed

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,516


    Did you find this post helpful? Yes | No

    Default Re: @ device ?????

    I believe that is the syntax for setting the CONFIG bits when using the old, obsolete, PM assembler. If you have PBP3 you must change it the "new" syntax.
    Find the .INFO file for your device in the DEVICE REFERENCE folder - there you can see what the defaults are and what options are available. HS_OSC is the correct option for a 20MHz.

    /Henrik.

Similar Threads

  1. Replies: 1
    Last Post: - 5th October 2011, 09:59
  2. Target Device does not match selected device
    By queenidog in forum FAQ - Frequently Asked Questions
    Replies: 3
    Last Post: - 25th June 2011, 01:24
  3. device not recognized
    By Hylan in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 21st November 2009, 18:21
  4. Target device <> Selected Device????
    By deepgfishing in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 20th June 2007, 22:18
  5. mass storage device 1 MB Flash device
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 31st August 2006, 04:11

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