projects
/
challenge-bot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
redo wiring to allow for LEDs and button
[challenge-bot]
/
build-stages
/
i_chooser
/
bot_with_leds_map.h
diff --git
a/build-stages/i_chooser/bot_with_leds_map.h
b/build-stages/i_chooser/bot_with_leds_map.h
index ebb554c86cb131fb7635b84f77788910572f707f..f28cb83196e76533c5de5641a1bc86fa30195bbe 100644
(file)
--- a/
build-stages/i_chooser/bot_with_leds_map.h
+++ b/
build-stages/i_chooser/bot_with_leds_map.h
@@
-1,6
+1,12
@@
// license info at bottom of file
// tl;dr AGPLv3+
// license info at bottom of file
// tl;dr AGPLv3+
+//////////////////////
+// button
+//////////////////////
+// purple wire
+const int button_pin = A0;
+
// right side LED, white wire
int right_led_pin = 3;
// right side LED, white wire
int right_led_pin = 3;
@@
-20,7
+26,7
@@
int right_trigger_pin = 7;
// blue wire
int left_motor_forward_pin = 8;
// orange wire
// blue wire
int left_motor_forward_pin = 8;
// orange wire
-int left_motor_backward_pin =
13
;
+int left_motor_backward_pin =
A1
;
// white wire
int left_motor_speed_pin = 10;
// white wire
int left_motor_speed_pin = 10;