looping


Results 1 to 7 of 7

Thread: looping

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    Nah... it have to work. To me it's because you don't have any pull-down resistor attached to your PORTB.5 pin... right?

    in worst case you could still use the internal PULL-UP... wich never turned me on... but usefull when you feel lazy
    Code:
    OPTION_REG.7 = 0  ' Active les pull-up de tapette ;o)
    And then, you just need to change the IF PORTB.5=1 to = 0
    Last edited by mister_e; - 11th February 2007 at 14:16.
    Steve

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

Similar Threads

  1. Replies: 67
    Last Post: - 8th December 2009, 02:27
  2. SerIn Looping problem ???
    By gtvmarty in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th September 2009, 00:31
  3. Looping Variable Assignments
    By jcb344 in forum General
    Replies: 3
    Last Post: - 5th July 2008, 09:50
  4. looping / counter
    By tech in forum General
    Replies: 3
    Last Post: - 18th May 2008, 23:31

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