make untethered code match wiring diagram
authordaniel watson <ozzloy@gmail.com>
Sat, 5 Dec 2015 04:09:34 +0000 (20:09 -0800)
committerdaniel watson <ozzloy@gmail.com>
Sat, 5 Dec 2015 04:09:34 +0000 (20:09 -0800)
build-stages/f_untethered/f_untethered.ino

index b42c07ca73d3ee0b01f4ac5a5e7ded87a1a68234..136c4ae95b1d5b519a2c0fe800d52274d3d1892a 100644 (file)
  */
 
 // define which pins are connected to which components
  */
 
 // define which pins are connected to which components
-int right_motor_speed_pin = 3;
-int right_motor_forward_pin = 4;
-int right_motor_backward_pin = 5;
-
-int left_motor_speed_pin = 8;
-int left_motor_forward_pin = 9;
-int left_motor_backward_pin = 10;
+// 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){
   digitalWrite(pin, HIGH);}
 
 void on(int pin){
   digitalWrite(pin, HIGH);}