Funktionen
Fork of Bertl by
Diff: const.h
- Revision:
- 18:10877b29cf5c
- Parent:
- 17:308802267a62
diff -r 308802267a62 -r 10877b29cf5c const.h --- a/const.h Thu Nov 12 19:05:56 2015 +0000 +++ b/const.h Mon Dec 21 14:39:48 2015 +0000 @@ -11,13 +11,13 @@ #define CONST_H #define TIME /**< if defined Bertl uses the time and not motor encoder*/ const int MOVE=500; /**< ms move forward or backward */ -const int TURN=500; /**< ms TurnLeft or TurnRigth (nearly 90 degree) */ +const int TURN=400; /**< ms TurnLeft or TurnRigth (nearly 90 degree) */ const int STEPTIME=20; /**< ms turn left or right for adjusting moves for TurnLeft or TurnRigth */ /*! \var int ULTRASONIC_DISTANCE \brief Bertl Ultrasonic Distance Sensor from 1 to n; 5 is ok for nearly 5 cm. \warning no warning*/ -const int ULTRASONIC_DISTANCE = 5; /* Distance sensor */ +const int ULTRASONIC_DISTANCE = 8; /* Distance sensor */ /*! \var int SPEED \brief Bertl speed 0.2 (slow) - 1.0 (fast). \warning speed below 0.2 possible the motor won't start */