X-Git-Url: http://challenge-bot.com/repos/?p=challenge-bot;a=blobdiff_plain;f=build-stages%2Fh_stay_on_table%2Fbot_with_leds_map.h;fp=build-stages%2Fh_stay_on_table%2Fbot_with_leds_map.h;h=ebb554c86cb131fb7635b84f77788910572f707f;hp=0000000000000000000000000000000000000000;hb=ce941be740b45737d19eaa5c726b2f99efabe0b9;hpb=e8e5701429b510a164ee9cac12920913692fac75 diff --git a/build-stages/h_stay_on_table/bot_with_leds_map.h b/build-stages/h_stay_on_table/bot_with_leds_map.h new file mode 100644 index 0000000..ebb554c --- /dev/null +++ b/build-stages/h_stay_on_table/bot_with_leds_map.h @@ -0,0 +1,48 @@ +// license info at bottom of file +// tl;dr AGPLv3+ + +// right side LED, white wire +int right_led_pin = 3; + +// define which pins are connected to which components +// blue wire +int right_motor_forward_pin = 2; +// 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 = 13; +// white wire +int left_motor_speed_pin = 10; + +// yellow wire +int left_echo_pin = 11; +// blue wire +int left_trigger_pin = 12; + +// left side LED, blue wire +int left_led_pin = 9; + +/* + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + */