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:70f494a1f674, committed 2015-12-21
- Comitter:
 - Sewii
 - Date:
 - Mon Dec 21 14:30:21 2015 +0000
 - Parent:
 - 17:308802267a62
 - Commit message:
 - Eigene Bertl Funktionsnamen!
 
Changed in this revision
| config.h | Show annotated file Show diff for this revision Revisions of this file | 
| const.h | Show annotated file Show diff for this revision Revisions of this file | 
--- a/config.h Thu Nov 12 19:05:56 2015 +0000 +++ b/config.h Mon Dec 21 14:30:21 2015 +0000 @@ -2,7 +2,7 @@ \brief A Documented file. * name: config.h Version: 3.0 \n * author: PE HTL BULME \n -* email: pe@bulme.at \n +* email: pe@bulme.at \nW * description: * Wiring for ur_Bertl The Robot */ @@ -30,17 +30,27 @@ DigitalOut RGB_blue(P1_24); /**< RGB blue component of the color uP -> Port 1_24 */ DigitalOut RGB_red(P1_23); /**< RGB red component of the color uP -> Port 1_23 */ -DigitalOut RGB_green(P1_25); /**< RGB green component of the color uP -> Port 1_25 */ +DigitalOut RGB_green(P1_25); /**< RGB+ + + + + + + + + + + green component of the color uP -> Port 1_25 */ //------------------ CHANGE ONLY IF NESSESARY ------------------------------------- DigitalOut MotorL_EN(p34); // wiring motor left -DigitalOut MotorL_FORWARD(P1_1); // change to P1_0 for Bertl 2015 -DigitalOut MotorL_REVERSE(P1_0); // change to P1_1 for Bertl 2015 +DigitalOut MotorL_FORWARD(P1_0); // change to P1_0 for Bertl 2015 +DigitalOut MotorL_REVERSE(P1_1); // change to P1_1 for Bertl 2015 DigitalOut MotorR_EN(p36); // wiring motor right -DigitalOut MotorR_FORWARD(P1_3); // change to P1_4 for Bertl 2015 -DigitalOut MotorR_REVERSE(P1_4); // change to P1_3 for Bertl 2015 +DigitalOut MotorR_FORWARD(P1_4); // change to P1_4 for Bertl 2015 +DigitalOut MotorR_REVERSE(P1_3); // change to P1_3 for Bertl 2015 I2C i2c(p28,p27); BusIn linesensor(p18, p16, p19, p17);
--- a/const.h Thu Nov 12 19:05:56 2015 +0000 +++ b/const.h Mon Dec 21 14:30:21 2015 +0000 @@ -4,14 +4,14 @@ * author: PE HTL BULME \n * email: pe@bulme.at \n * description: -* Constants for ur_Bertl The Robot +* Constants for ur_BerWtl The Robot * Constant for Robot from objectiv Robot added */ #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 TURN=500; /**< ms TurnLeft or TurnRigth (nearly 90 degree) */ +const int TURN=300; /**< 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
