Hey all,
Long time listener, first time caller here. (hopefully this is the right location for my question, sorry if it isn't. admin feel free to move me)
I have a project with my MICRO that needs to control [speed and position of] 4 separate DC motors (each with mag-quad encoders, PID control) simultaneously. I'm pretty sure the only way to achieve this is to have an interrupt pin for each motor (I successfully did this with 2 motors and an UNO). I have done a bit of research and am still somewhat lost.
My question is this: Can I use all 4 interrupt pins on my MICRO and maintain serial communication functionality? I found that INT0 and INT1 are on the RX and TX pins, and I am not sure if i can just use them like normal, and everything should work fine, or do I possibly need to assign serial communication to different pins? If so, can it be a standard digital pin? Is there a better way to do this?
Thanks in advance, random Forum hero. You the real MVP!!