diff options
author | neoraider <devnull@localhost> | 2007-04-16 00:01:04 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-04-16 00:01:04 +0200 |
commit | d02fbc84105ff2da74f03fd658ace8919e3e9437 (patch) | |
tree | a9ab5298ca9584e7eabc0bcb6d8b34ca1ad55726 /main.cpp | |
parent | ccc0183cee7c410d668a0b1a9153b061a4785e42 (diff) | |
download | rc2007-rescue-d02fbc84105ff2da74f03fd658ace8919e3e9437.tar rc2007-rescue-d02fbc84105ff2da74f03fd658ace8919e3e9437.zip |
LineSensorArray + Srf10 added.
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,5 @@ #include "hardware.h" +#include "avr.h" #include "Motor.h" #include "Navigation.h" @@ -11,7 +12,8 @@ Navigation *navigation = new Navigation(motorLeft, 60.0, motorBack, 180.0, motor static void delay() { - for(unsigned long i = 0; i < 25000; i++); + for(unsigned long i = 0; i < 25000; i++) + asm("nop"); } |