use spokes instead of square for wheel
[challenge-bot] / build-stages / g_follow / bot_with_leds_map.h
1 // license info at bottom of file
2 // tl;dr AGPLv3+
3
4 /*
5 define which pins are connected to which components
6 */
7
8 //////////////////////
9 // right LED
10 //////////////////////
11 // white wire
12 int right_led_pin = 3;
13
14 //////////////////////
15 // right motor
16 //////////////////////
17 // blue wire
18 int right_motor_forward_pin = 2;
19 // orange wire
20 int right_motor_backward_pin = 4;
21 // white wire
22 int right_motor_speed_pin = 5;
23
24 //////////////////////
25 // right sonar sensor
26 //////////////////////
27 // yellow wire
28 int right_echo_pin = 6;
29 // blue wire
30 int right_trigger_pin = 7;
31
32 //////////////////////
33 // left motor
34 //////////////////////
35 // blue wire
36 int left_motor_forward_pin = 8;
37 // orange wire
38 int left_motor_backward_pin = 13;
39 // white wire
40 int left_motor_speed_pin = 10;
41
42 //////////////////////
43 // left sonar sensor
44 //////////////////////
45 // yellow wire
46 int left_echo_pin = 11;
47 // blue wire
48 int left_trigger_pin = 12;
49
50 //////////////////////
51 // left LED
52 //////////////////////
53 // blue wire
54 int left_led_pin = 9;
55
56 /*
57 This program is free software: you can redistribute it and/or modify
58 it under the terms of the GNU Affero General Public License as
59 published by the Free Software Foundation, either version 3 of the
60 License, or (at your option) any later version.
61
62 This program is distributed in the hope that it will be useful,
63 but WITHOUT ANY WARRANTY; without even the implied warranty of
64 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
65 GNU Affero General Public License for more details.
66
67 You should have received a copy of the GNU Affero General Public License
68 along with this program. If not, see <http://www.gnu.org/licenses/>.
69 */