From 8cc1013bee55c55730751d4d6bde3b5980f0ccee Mon Sep 17 00:00:00 2001 From: kou029w Date: Wed, 29 Aug 2012 16:52:22 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=87=E3=83=90=E3=83=83=E3=82=B0=E3=83=A2?= =?UTF-8?q?=E3=83=BC=E3=83=89=E3=81=8C=E9=81=A9=E5=88=87=E3=81=98=E3=82=83?= =?UTF-8?q?=E3=81=AA=E3=81=8B=E3=81=A3=E3=81=9F=E3=81=AE=E3=81=A7=E5=89=8A?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arduino/hanzo2/hanzo2.ino | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arduino/hanzo2/hanzo2.ino b/arduino/hanzo2/hanzo2.ino index eca008d..bc43516 100644 --- a/arduino/hanzo2/hanzo2.ino +++ b/arduino/hanzo2/hanzo2.ino @@ -17,7 +17,6 @@ */ //#define LINE_BLACK //白地・黒ライン有効 -#define DEBUG //デバッグ有効 #define TARGET_NONE_COUNT 85 @@ -268,11 +267,11 @@ void loop(){ switch(mode){ case MODE_TRACE: trace(sensor); -#ifdef DEBUG - if( counter > 854*6 - 60 ){ + + if( counter > 854*6 - 60 ){ // 6周(1周854カウント)したら、円筒標的を狙いに行く mode = MODE_STOP; } -#endif + break; case MODE_STOP: