1 // license info at bottom of file
5 define which pins are connected to which components
10 //////////////////////
12 int right_led_pin
= 3;
14 //////////////////////
16 //////////////////////
18 int right_motor_forward_pin
= 2;
20 int right_motor_backward_pin
= 4;
22 int right_motor_speed_pin
= 5;
24 //////////////////////
26 //////////////////////
28 int right_echo_pin
= 6;
30 int right_trigger_pin
= 7;
32 //////////////////////
34 //////////////////////
36 int left_motor_forward_pin
= 8;
38 int left_motor_backward_pin
= 13;
40 int left_motor_speed_pin
= 10;
42 //////////////////////
44 //////////////////////
46 int left_echo_pin
= 11;
48 int left_trigger_pin
= 12;
50 //////////////////////
52 //////////////////////
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.
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.
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/>.