summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-04-19 02:12:03 +0200
committerneoraider <devnull@localhost>2007-04-19 02:12:03 +0200
commit625226774309d4efef855fef759f1da4bc07c0db (patch)
treed93d0e7e4a90d67d0ff3734508967546b03d9188 /main.cpp
parente7eeeb0d4e825a175c67cd1c0256c91362517ebb (diff)
downloadrc2007-rescue-master.tar
rc2007-rescue-master.zip
LED eingebaut.HEADmaster
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 8fc011b..cc71d55 100644
--- a/main.cpp
+++ b/main.cpp
@@ -48,10 +48,16 @@ int main() {
Srf10 *srf10Last = srf10Left;
- do {
+ do {
lineSensorArray->update();
} while(!lineSensorArray->calibrate());
+ ledOn();
+ waitForButton(0);
+ ledOff();
+
+ sleep(4000);
+
navigation->setSpeed(DEFAULT_SPEED);
while(true) {