Set configuration bits


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    May 2013
    Posts
    8

    Default Set configuration bits

    Hi,
    how can I set this things with microcode studio on PIC16f819?
    @ DEVICE INTRC_OSC
    @ DEVICE WDT_OFF
    @ DEVICE PWRT_OFF
    @ DEVICE MCLR_OFF
    @ DEVICE BOD_OFF
    @ DEVICE LVP_OFF
    @ DEVICE CPD_OFF
    @ DEVICE CCPMX_ON
    I can't find the section for configuration bits on the program

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,588


    Did you find this post helpful? Yes | No

    Default Re: Set configuration bits

    Have you looked at the FAQ forum?

    http://www.picbasic.co.uk/forum/showthread.php?t=543


    Or used the search feature?


    And there's also several similar threads listed at the bottom.

    Robert

  3. #3
    Join Date
    May 2013
    Posts
    8


    Did you find this post helpful? Yes | No

    Default Re: Set configuration bits

    Yes, of course and in the previous post you can look at my needed configuration.
    Unfortunately the microcode studio sais that it is incorrect

  4. #4
    Join Date
    May 2013
    Posts
    8


    Did you find this post helpful? Yes | No

    Default Re: Set configuration bits

    Name:  problema.png
Views: 1067
Size:  191.7 KB
    As you can see there

  5. #5
    Join Date
    Feb 2010
    Location
    USA, New England
    Posts
    164


    Did you find this post helpful? Yes | No

    Default Re: Set configuration bits

    What version of PBP are you using? And, which assembler is MCS using?

    In PBP3, the config settings would be something like:

    Code:
    #CONFIG
      __config _INTRC_IO & _WDT_OFF & _PWRTE_OFF & _MCLR_OFF & _BODEN_OFF & _LVP_OFF & _CPD_OFF & _CCP1_RB3
    #ENDCONFIG
    Best Regards,
    Paul
    The way to avoid mistakes is to gain experience. The way to gain experience is to make mistakes.

  6. #6
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,588


    Did you find this post helpful? Yes | No

    Default Re: Set configuration bits

    Removed wrong answer.
    Last edited by Demon; - 27th May 2013 at 20:50. Reason: booboo

Similar Threads

  1. configuration bits
    By Izone1173 in forum mel PIC BASIC
    Replies: 2
    Last Post: - 18th June 2009, 05:17
  2. Set Configuration from code?
    By kevj in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 26th September 2008, 05:52
  3. Configuration bits
    By Perrin` in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 3rd July 2008, 15:40
  4. Configuration bits
    By DJEE in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th June 2007, 20:20
  5. Configuration bits
    By Armando Herjim in forum General
    Replies: 0
    Last Post: - 5th December 2006, 17:51

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