From 3a60191c9b3d188a4b9fc0bb9f358be185dcd581 Mon Sep 17 00:00:00 2001 From: daniel watson Date: Tue, 11 Aug 2015 22:26:02 -0700 Subject: [PATCH] various syntax fixes --- build-stages/g_follow/g_follow.ino | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build-stages/g_follow/g_follow.ino b/build-stages/g_follow/g_follow.ino index 344c46e..e9e6250 100644 --- 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); } -- 2.30.2