Hot to handle multiple interrupt sources?


Results 1 to 18 of 18

Threaded View

  1. #12
    Join Date
    Apr 2013
    Posts
    32


    Did you find this post helpful? Yes | No

    Default Re: Hot to handle multiple interrupt sources?

    These are problems I observed in my code with DT-INTS;
    1- There is 3 seconds pause command after defining variables and before start motor controls but motors are starting to run directly when i plug the power cable.
    2- Program cannot go out of STANDUP loop until all of encoders give 50 pulses but although I unplugged4 motors from system without changing the code, remaining 2 motors running , then pausing (not pausing from the start, it looks like it pauses after a jump) and running again and pausing ....
    3- As far as I see, program is not giving a thing about main program and ENCOUNTER subroutine
    4- Interrupt subroutine is working, because motors cannot run before int routine run but nothing else is running...

    I just cant see what is the problem here, maybe I should give up on DT-INTS and use polling methode for multiple interrupts
    Last edited by elcrcp; - 22nd April 2013 at 03:24.

Similar Threads

  1. port handle
    By kumara in forum Code Examples
    Replies: 6
    Last Post: - 2nd October 2012, 23:32
  2. Two interrupt sources in one program
    By Art in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th January 2012, 15:12
  3. Hot Servos
    By The Master in forum Off Topic
    Replies: 37
    Last Post: - 6th August 2010, 18:32
  4. Multiple interrupt source determination
    By PickyBiker in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 5th April 2010, 17:32
  5. PIC16F887 cant handle HIGH and LOW?
    By xobx in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 16th October 2007, 04:46

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts