Configuration bits


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2007
    Posts
    7

    Default Configuration bits

    I am new to PIC programming and PICBASIC PRO. I am trying set the configuration bits in my program so that they will not need to be set manually when I program the PIC. I have not found any information on how to do this in PICBASIC PRO. I tried to do it with a line of assembly code using the @ __config function but the PICBASIC PRO compiler would give me an error saying it "opcode expected instead of ' __config'. Can anyone help me with this?

  2. #2
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Try using the search function of this forum and enter "configuration bits" as the search string.... then browse the posts it trows up

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by DJEE View Post
    I am new to PIC programming and PICBASIC PRO. I am trying set the configuration bits in my program so that they will not need to be set manually when I program the PIC. I have not found any information on how to do this in PICBASIC PRO. I tried to do it with a line of assembly code using the @ __config function but the PICBASIC PRO compiler would give me an error saying it "opcode expected instead of ' __config'. Can anyone help me with this?
    http://www.picbasic.co.uk/forum/showthread.php?t=543
    Amazing what a search brings out...ain't it?

  4. #4
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    http://www.picbasic.co.uk/forum/showthread.php?t=543
    Amazing what a search brings out...ain't it?
    - LOL

    I couldn't be arsed to paste the link !

Similar Threads

  1. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 24
    Last Post: - 14th June 2016, 07:55
  2. Configuration bits in a HEX file gone missing?
    By grzes.r in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd February 2010, 01:10
  3. Configuration bits setting problem
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th August 2009, 17:25
  4. Configuration bits
    By Armando Herjim in forum General
    Replies: 0
    Last Post: - 5th December 2006, 16:51
  5. error on compiling
    By parker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2005, 14:31

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