Hello,
Quote:
motor1.write(usb1.btnX());
motor2.write(usb1.btnB());
|
This will not work as expected as the button functions return boolean instead of int or byte, you need to pass 0-255 to the write functions for the motors in order to have them move.
Also, in order to use the spikes, you need to use two outputs per spike relay, as it has an A and B input, in addition to ground.