Noobie Question


Closed Thread
Results 1 to 20 of 20

Thread: Noobie Question

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    pretty bad that PBC don't allow to set the config fuses in the code.. that would be so much convenient. Yet another real limitation of PBC.
    It looks like the PBC folks DO have an option for auto handling fuse settings. Not directly like in PBP, but with a nice workaround.

    dhouston, thanks for helping to make this work. It would still be a mystery without your efforts.

    The hard part for them now will be to find the proper format for the device statement.

    Here are few to get them going:

    12F675
    device pic12F675, intrc_osc_noclkout, wdt_on, mclr_on, protect_off

    16F628
    device pic16F628, xt_osc, wdt_on, pwrt_on, mclr_on, lvp_off, protect_off

    16F84A
    device pic16F84A, xt_osc, wdt_on, protect_off

    16F877
    device pic16F877, xt_osc, wdt_on, pwrt_on, lvp_off, protect_off

    Now, if only I used PBC I would be all set ...

    Paul Borgmeier
    Salt Lake City, Utah
    USA

  2. #2
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by paul borgmeier
    dhouston, thanks for helping to make this work. It would still be a mystery without your efforts.
    The hard part for them now will be to find the proper format for the device statement.
    This notation also seems to work...
    Code:
    asm
       	device pic12f629, intrc_osc_noclkout
       	device pic12f629, wdt_off
       	device pic12f629, pwrt_on
       	device pic12f629, mclr_off
       	device pic12f629, bod_on
       	device pic12f629, protect_off
       	device pic12f629, cpd_off
    endasm
    It also works with upper case or even mixed case.

    At first, I thought your mclr_0ff failed because it was mixed case. Now, I think you typed a zero (0) instead of the letter O.

    While I haven't tested it, I expect this notation will also work with PBP.

Similar Threads

  1. Extreme Noobie question 12F675
    By Jeff in forum mel PIC BASIC
    Replies: 11
    Last Post: - 22nd September 2009, 01:13
  2. noobie to PICs and PBPro... Programming question.
    By mcphill in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th October 2007, 18:35
  3. noobie question
    By 02GF74 in forum General
    Replies: 1
    Last Post: - 29th November 2006, 18:47
  4. Question for a math guru
    By Christopher4187 in forum General
    Replies: 3
    Last Post: - 22nd November 2006, 09:45
  5. Please answer my first question
    By John_001 in forum Off Topic
    Replies: 1
    Last Post: - 15th September 2006, 06:49

Members who have read this thread : 0

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