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.
Dependencies: HCSR
Fork of ur_Bertl by
Diff: const.h
- Revision:
- 6:df6830254e8b
- Parent:
- 4:76acfddc26fb
- Child:
- 8:07e55b300ff1
diff -r 6b667e2cb800 -r df6830254e8b const.h --- a/const.h Fri Apr 10 07:12:07 2015 +0000 +++ b/const.h Fri Apr 10 09:31:54 2015 +0000 @@ -12,6 +12,10 @@ const int MOVE=500; const int TURN=500; +/*! \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 */ /*! \var int SPEED \brief Bertl speed 0.2 (slow) - 1.0 (fast). \warning speed below 0.2 possible the motor won't start */
