1 // license info at bottom of file
5 define which pins are connected to which components
10 //////////////////////
12 int right_motor_forward_pin
= 3;
14 int right_motor_backward_pin
= 4;
16 int right_motor_speed_pin
= 5;
18 //////////////////////
20 //////////////////////
22 int right_echo_pin
= 6;
24 int right_trigger_pin
= 7;
26 //////////////////////
28 //////////////////////
30 int left_motor_forward_pin
= 8;
32 int left_motor_backward_pin
= 9;
34 int left_motor_speed_pin
= 10;
36 //////////////////////
38 //////////////////////
40 int left_echo_pin
= 11;
42 int left_trigger_pin
= 12;
45 This program is free software: you can redistribute it and/or modify
46 it under the terms of the GNU Affero General Public License as
47 published by the Free Software Foundation, either version 3 of the
48 License, or (at your option) any later version.
50 This program is distributed in the hope that it will be useful,
51 but WITHOUT ANY WARRANTY; without even the implied warranty of
52 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53 GNU Affero General Public License for more details.
55 You should have received a copy of the GNU Affero General Public License
56 along with this program. If not, see <http://www.gnu.org/licenses/>.