Problem with RAC_INT


Closed Thread
Results 1 to 11 of 11

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Hi Dick,

    If the user will not be pressing & holding the switch, then read the port pin after the 2 sec
    pause.

    Otherwise you need to wait for the pin to return to the non-button-pressed state or it just
    interrupts again after the port read & switch release.

    If it's a one-shot deal, just disable it by clearing IOCA.4.
    Regards,

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

  2. #2
    Join Date
    Feb 2010
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    I intend to use the IOC too, but i'm not sure if i need those:

    DT_INTS-14 for F684.bas
    ReEnterPBP.bas
    Elapsed_INT_RI.bas


    if so, where i find this .bas files?

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Files attached. Rename without .txt to use.
    Attached Files Attached Files

  4. #4
    Join Date
    Feb 2010
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Thanks Dick but i'm still having troubles with IOCA over 16f684.

    Because i have not much experience with PicBasic, i have been reading about IOC but don't understad how to implement a basic interrupt on change

Similar Threads

  1. problem using GOSUB under interrupt
    By fobya71 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 5th March 2010, 19:52
  2. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  3. Microcode Studio 18f2455 problem?????
    By volkan in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 21st May 2007, 21:04
  4. Hardware problem or what ?
    By Steve S. in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 4th March 2007, 21:39
  5. 1 slave 1 master 1 MAX232 1 problem ?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 31st July 2005, 22:59

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