Am I stupid? Goto does not GOTO??? Where's the bug??


Results 1 to 16 of 16

Threaded View

  1. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    What happens if you insert a PAUSE 2000 after the LCDOUT in got_pin?

    Or try goto finish just above got_pin so it doesn't fall-through to got_pin
    on 2nd entry if no pins are 0?

    Edit: Also, make sure when you GOTO another routine from your interrupt
    that the routine isn't outside the DISABLE/ENABLE block. If you do it returns
    to the beginning of your interrupt handler.
    Last edited by Bruce; - 13th October 2008 at 14:49. Reason: Stay in bounds
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. Making a menu
    By chrisshortys in forum mel PIC BASIC Pro
    Replies: 36
    Last Post: - 12th November 2008, 19:54
  2. Replies: 14
    Last Post: - 26th September 2007, 05:41
  3. Problems with RC2 and RC3
    By Christopher4187 in forum General
    Replies: 11
    Last Post: - 29th May 2006, 17:19
  4. 3 HPWM channels
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th April 2006, 02:43
  5. Output PIC module
    By freelancebee in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th September 2005, 20:10

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