indicate wire colors in comments
[challenge-bot] / build-stages / e_both_motors / e_both_motors.ino
index 1e55ac6a122207b81ca5922841ec16941fe4b7e9..136c4ae95b1d5b519a2c0fe800d52274d3d1892a 100644 (file)
  */
 
 // define which pins are connected to which components
+// blue wire
 int right_motor_forward_pin = 3;
+// orange wire
 int right_motor_backward_pin = 4;
+// white wire
 int right_motor_speed_pin = 5;
 
+// blue wire
 int left_motor_forward_pin = 8;
+// orange wire
 int left_motor_backward_pin = 9;
+// white wire
 int left_motor_speed_pin = 10;
 
 void on(int pin){