projects
/
challenge-bot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fb38d0
)
various syntax fixes
author
daniel watson
<ozzloy@gmail.com>
Wed, 12 Aug 2015 05:26:02 +0000
(22:26 -0700)
committer
daniel watson
<ozzloy@gmail.com>
Wed, 12 Aug 2015 05:26:02 +0000
(22:26 -0700)
build-stages/g_follow/g_follow.ino
patch
|
blob
|
blame
|
history
diff --git
a/build-stages/g_follow/g_follow.ino
b/build-stages/g_follow/g_follow.ino
index 344c46e76a67898134e4af8600c11d8930763d57..e9e62503ce4500e197f0648b2ba6e35e21906827 100644
(file)
--- a/
build-stages/g_follow/g_follow.ino
+++ b/
build-stages/g_follow/g_follow.ino
@@
-114,9
+114,9
@@
void setup(){
off(right_motor_speed_pin);
off(right_motor_forward_pin);
off(right_motor_backward_pin);
- off(right_trigger_pin);}
+ off(right_trigger_pin);
}
-void loop(){
+void loop()
{
int left_speed;
int right_speed;
@@
-137,6
+137,7
@@
void loop(){
Serial.print(" right: ping = ");
Serial.print(actual_right_ping_time);
Serial.print(" speed = ");
- Serial.println(right_speed);
+ Serial.print(right_speed);
+ Serial.println();
- go(left_speed, right_speed);}
+ go(left_speed, right_speed);
}