Fertig

Dependencies:   mbed

Fork of RT2_P3_students by TeamSurface

Revision:
2:d7b497824b17
Parent:
1:a30512c3ac73
--- a/LinearCharacteristics.h	Mon Apr 09 05:50:04 2018 +0000
+++ b/LinearCharacteristics.h	Mon Apr 09 08:04:35 2018 +0000
@@ -8,12 +8,18 @@
 class LinearCharacteristics{
      public:
                     //...
-                    //...
+                    LinearCharacteristics(float, float);
+                    LinearCharacteristics(float, float), float, float);
         virtual     ~LinearCharacteristics();
         // here: the calculation function
+        float       calculateValue(float);
+        float operator ()(float u){
+            return calculateValue(u);   
+        }
     
     private:
-        // here: private functions and values...
+        float k;
+        float offset;
 };