X-Git-Url: http://challenge-bot.com/repos/?p=challenge-bot;a=blobdiff_plain;f=build-stages%2Fh_stay_on_table%2Fh_stay_on_table.ino;fp=build-stages%2Fh_stay_on_table%2Fh_stay_on_table.ino;h=e2838f5536af086fecbe2dea168cc0b68983c4e2;hp=26ecf2c40a6f072dd6a459cad7a92626890105ed;hb=661ac21e0bd2e7a48c7bed6332e948873f4a2b23;hpb=ced82105b4d54b72b9a4af60f12d6a79b0ddff56 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 26ecf2c..e2838f5 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,18 +14,28 @@ */ // 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){