indicate wire colors in comments
[challenge-bot] / build-stages / h_stay_on_table / h_stay_on_table.ino
index 26ecf2c40a6f072dd6a459cad7a92626890105ed..e2838f5536af086fecbe2dea168cc0b68983c4e2 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;
 
+// yellow wire
 int right_echo_pin = 6;
+// blue wire
 int right_trigger_pin = 7;
 
+// blue wire
 int left_motor_forward_pin = 8;
+// orange wire
 int left_motor_backward_pin = 9;
+// white wire
 int left_motor_speed_pin = 10;
 
+// yellow wire
 int left_echo_pin = 11;
+// blue wire
 int left_trigger_pin = 12;
 
 void on(int pin){