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
Revision 18:8bfd7ecd2795, committed 2015-12-21
- Comitter:
- Dominik_2000
- Date:
- Mon Dec 21 14:30:08 2015 +0000
- Parent:
- 17:308802267a62
- Commit message:
- nothing
Changed in this revision
const.h | Show annotated file Show diff for this revision Revisions of this file |
ur_Bertl.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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 */
--- a/ur_Bertl.h Thu Nov 12 19:05:56 2015 +0000 +++ b/ur_Bertl.h Mon Dec 21 14:30:08 2015 +0000 @@ -167,7 +167,7 @@ void BlueLedsOFF(); /**< OFF all blue LEDs which are on the same Port 1_28 */ void BlueLedsON(); /**< ON all blue LEDs which are on the same Port 1_28 */ int Read(); - bool IsLedOn(const int led); + bool IsLedOn(const int led); }; /********************************************//**