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![]()
Bookmarks