@ Device Parameters


Closed Thread
Results 1 to 3 of 3
  1. #1
    Randy_Suwanee's Avatar
    Randy_Suwanee Guest

    Question @ Device Parameters

    Hello all-

    This is my first time on the board, and I have gleaned quite a bit of information concerning the "@ DEVICE" commands, but cannot seem to find a list of what can be set, and to what they can be set. Some of the ones I found here are:

    @ DEVICE PIC16F72
    ' PIC Selection (PIC Name)
    @ DEVICE EC_OSC
    ' System Clock Options (External)
    @ DEVICE INTRC_OSC_NOCLKOUT
    ' System Clock Options (Internal)
    @ DEVICE XT_OSC
    ' System Clock Options (XT)
    @ DEVICE HS_OSC
    ' System Clock Options (HS)
    @ DEVICE WDT_OFF
    ' Watchdog Timer (_ON, _OFF)
    @ DEVICE PWRT_OFF
    ' Power-On Timer (_ON, _OFF)
    @ DEVICE MCLR_ON
    ' Master Clear Options (_ON - External, _OFF - Internal)
    @ DEVICE BOD_OFF
    ' Brown-Out Detect (_ON, _OFF)
    @ DEVICE CPD_OFF
    ' Data Memory Code Protect (_ON, _OFF)
    @ DEVICE PROTECT_OFF
    ' Program Code Protection (_ON, _OFF)

    If there are any more (and I'm sure there are), or if there are errors in the above, please let me know.

    Thanks-

    -Randy

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Hi Randy,

    Check out Melanie's FAQ on this subject at

    http://www.picbasic.co.uk/forum/show...=&threadid=543

  3. #3
    Randy_Suwanee's Avatar
    Randy_Suwanee Guest


    Did you find this post helpful? Yes | No

    Default

    I could have sworn I had read through all of those! Just chalk it up to old age and sanility!!

    Thanks for pointing me in the right direction...

    -Randy

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. High Resolution Timer & Speed Calculator
    By WOZZY-2010 in forum Code Examples
    Replies: 4
    Last Post: - 7th February 2010, 16:45
  4. help
    By zugvogel1 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th February 2005, 20:42
  5. Need once your help one please
    By zugvogel1 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 9th February 2005, 20:33

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