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