From ced82105b4d54b72b9a4af60f12d6a79b0ddff56 Mon Sep 17 00:00:00 2001 From: daniel watson Date: Fri, 4 Dec 2015 20:09:34 -0800 Subject: [PATCH] make untethered code match wiring diagram --- build-stages/f_untethered/f_untethered.ino | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) 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);} -- 2.30.2