DEFINE OSCCAL_1K 1 kills sound


Results 1 to 11 of 11

Threaded View

  1. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Hi Peterdeco1

    >found this command here on the forum but would never have figured it out from the datasheet. My question is: where does the 7 come from? What is OPTION_REG 6? Or 5?, etc. How do you enable pullups only on certain pins? Again, I don't understand the correlation between the datasheet and the PBP command. Thank you. - Peter

    see datasheet p19... Option Register BIT 7

    7 is the Bit number to set.

    Must be write :

    OPTION_REG.7=0

    regards
    Last edited by mister_e; - 8th November 2004 at 11:03.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Thermo 7 segments - little problem
    By fratello in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 27th July 2013, 08:31
  2. RS485 bus - starting probem
    By wurm in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th January 2010, 14:35
  3. 32 bit square root
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 6th May 2009, 04:37
  4. one line led light make image
    By bioul in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th February 2008, 13:19
  5. HSERIN doesn´t work
    By wurm in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th July 2007, 15:23

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