Schulaufgabe 21.12.2015

Dependencies:   HCSR

Fork of Bertl by Franz Pucher

Files at this revision

API Documentation at this revision

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
diff -r 308802267a62 -r 8bfd7ecd2795 const.h
--- 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 */
diff -r 308802267a62 -r 8bfd7ecd2795 ur_Bertl.h
--- 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);
 
 };
 /********************************************//**