Motor 1 is perfectly working, but however if I add motor 2 the whole thing is getting weird. The return to home is perfectly working.

Dependencies:   Encoder HIDScope MODSERIAL QEI mbed

Fork of Motor4_SETPOINTPD by Fernon Eijkhoudt

Revision:
13:c60942a1da8e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Encoder.lib	Wed Oct 07 13:30:46 2015 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/users/vsluiter/code/Encoder/#18b000b443af