1 // license info at bottom of file
8 const int button_pin
= A0
;
10 // right side LED, white wire
11 int right_led_pin
= 3;
13 // define which pins are connected to which components
15 int right_motor_forward_pin
= 2;
17 int right_motor_backward_pin
= 4;
19 int right_motor_speed_pin
= 5;
22 int right_echo_pin
= 6;
24 int right_trigger_pin
= 7;
27 int left_motor_forward_pin
= 8;
29 int left_motor_backward_pin
= A1
;
31 int left_motor_speed_pin
= 10;
34 int left_echo_pin
= 11;
36 int left_trigger_pin
= 12;
38 // left side LED, blue wire
42 This program is free software: you can redistribute it and/or modify
43 it under the terms of the GNU Affero General Public License as
44 published by the Free Software Foundation, either version 3 of the
45 License, or (at your option) any later version.
47 This program is distributed in the hope that it will be useful,
48 but WITHOUT ANY WARRANTY; without even the implied warranty of
49 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50 GNU Affero General Public License for more details.
52 You should have received a copy of the GNU Affero General Public License
53 along with this program. If not, see <http://www.gnu.org/licenses/>.