Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Bertl by
Diff: const.h
- Revision:
- 18:8bfd7ecd2795
- Parent:
- 17:308802267a62
--- a/const.h Thu Nov 12 19:05:56 2015 +0000 +++ b/const.h Mon Dec 21 14:30:08 2015 +0000 @@ -10,7 +10,7 @@ #ifndef CONST_H #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 MOVE=1000; /**< ms move forward or backward */ const int TURN=500; /**< ms TurnLeft or TurnRigth (nearly 90 degree) */ const int STEPTIME=20; /**< ms turn left or right for adjusting moves for TurnLeft or TurnRigth */ @@ -21,7 +21,7 @@ /*! \var int SPEED \brief Bertl speed 0.2 (slow) - 1.0 (fast). \warning speed below 0.2 possible the motor won't start */ -const float SPEED = 0.4; /* Bertl speed 0.2 (slow) - 1.0 (fast) */ +const float SPEED = 1; /* Bertl speed 0.2 (slow) - 1.0 (fast) */ /*! \var int DISTANCE \brief one wheel turn is appr. 24 ticks. \warning maybe the number has to be adjusted */
