I am using one cpu to control the posistion and speed of a dc motor. I would like to control four dc motors with the one cpu using an encoder to sense speed and posistion of each motor.
What can I do to prevent the cpu from being overloaded with these task?