From: daniel watson Date: Fri, 13 Jun 2014 18:44:51 +0000 (-0700) Subject: remove conflicting wire color notes X-Git-Url: http://challenge-bot.com/repos/?p=challenge-bot;a=commitdiff_plain;h=bac3d923036d6dc37919638bd311e072b0946d11 remove conflicting wire color notes --- diff --git a/build-stages/h_stay_on_table/h_stay_on_table.ino b/build-stages/h_stay_on_table/h_stay_on_table.ino index 07f7d17..f2d52b1 100644 --- a/build-stages/h_stay_on_table/h_stay_on_table.ino +++ b/build-stages/h_stay_on_table/h_stay_on_table.ino @@ -14,19 +14,19 @@ */ // 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 right_motor_speed_pin = 3; // orange wire +int right_motor_forward_pin = 4; // brown +int right_motor_backward_pin = 5; // purple -int right_echo_pin = 6; -int right_trigger_pin = 7; +int right_echo_pin = 6; // white +int right_trigger_pin = 7; // blue -int left_motor_speed_pin = 8; -int left_motor_forward_pin = 9; -int left_motor_backward_pin = 10; +int left_motor_speed_pin = 8; // orange +int left_motor_forward_pin = 9; // brown +int left_motor_backward_pin = 10; // purple -int left_echo_pin = 11; -int left_trigger_pin = 12; +int left_echo_pin = 11; // white +int left_trigger_pin = 12; // blue void on(int pin){ digitalWrite(pin, HIGH);}