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