12F508 OPTION Register


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Location
    Edmonton AB Canada
    Posts
    52


    Did you find this post helpful? Yes | No

    Default Re: 12F508 OPTION Register

    p.s.
    That's on the 16f505 chip, not the 508

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


    Did you find this post helpful? Yes | No

    Default Re: 16F505 OPTION Register

    The OPTION register is accessed the same as any other 16F. PBP translates it to an assembly OPTION command on 12-bit cores.

    To use RC5 as an output pin, use ...
    Code:
    OPTION_REG.5 = 0
    DT

  3. #3
    Join Date
    Oct 2006
    Location
    Edmonton AB Canada
    Posts
    52


    Did you find this post helpful? Yes | No

    Default Re: 16F505 OPTION Register

    Thanks Darrell, worked like a charm. Options are not so clear in the documentation.

Similar Threads

  1. Auto Save option in editor
    By longpole001 in forum PBP Wish List
    Replies: 6
    Last Post: - 5th July 2012, 23:15
  2. Adding a Favorites Option to the Forum
    By rsocor01 in forum Forum Requests
    Replies: 9
    Last Post: - 18th July 2010, 17:09
  3. So many option but little understanding
    By PickyBiker in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 23rd April 2010, 09:45
  4. Forum use option
    By F1CHF in forum Forum Requests
    Replies: 6
    Last Post: - 12th August 2006, 12:35
  5. 12F508 question...
    By muddy0409 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 22nd August 2005, 09:32

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