From: daniel watson Date: Sat, 5 Dec 2015 04:09:34 +0000 (-0800) Subject: make untethered code match wiring diagram X-Git-Url: http://challenge-bot.com/repos/?p=challenge-bot;a=commitdiff_plain;h=ced82105b4d54b72b9a4af60f12d6a79b0ddff56 make untethered code match wiring diagram --- diff --git a/build-stages/f_untethered/f_untethered.ino b/build-stages/f_untethered/f_untethered.ino index b42c07c..136c4ae 100644 --- a/build-stages/f_untethered/f_untethered.ino +++ b/build-stages/f_untethered/f_untethered.ino @@ -14,13 +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 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);}