detect1 to 0 change on RA0


Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Jan 2008
    Location
    lincoln uk
    Posts
    20

    Unhappy detect1 to 0 change on RA0

    Why does this fall through?

    loop:
    IF porta.0 = 1 then loop

    next lot of basic code follows here

    RA0 is tied up via 10K and a press button grounds it, to get out of the loop, but...it fall thro anyway
    Rgds
    Mike URGENT for my sanity
    Last edited by med2007; - 15th January 2008 at 15:33. Reason: further info

Similar Threads

  1. A Simple IOC Routine (Interrupt On Change)
    By lugo.p in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th March 2010, 19:53
  2. encoder port change
    By l_gaminde in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th September 2009, 19:41
  3. pic18f4520 baud rate change to 115200
    By caltex88 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 30th September 2007, 08:41
  4. HELP !!! How change the voltage of a pin ????
    By stormdacta in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 21st August 2007, 20:55
  5. help!! With Keypad change
    By clare1 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 12th December 2006, 21:13

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