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: mbed
Diff: Fahren.h
- Revision:
- 0:6d0671ae4648
- Child:
- 1:a95ba1510438
diff -r 000000000000 -r 6d0671ae4648 Fahren.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Fahren.h Mon Apr 23 11:28:11 2018 +0000
@@ -0,0 +1,38 @@
+#ifndef FAHREN_H_
+#define FAHREN_H_
+
+#include <mbed.h>
+#include "EncoderCounter.h"
+#include "Controller.h"
+
+class Fahren{
+
+ public:
+ Fahren(Controller& controller, EncoderCounter& counterLeft, EncoderCounter& counterRight); //Konstruktor
+
+ virtual ~Fahren();
+
+ void geradeaus();
+ void rechts90();
+ void rechts180();
+ void rechts270();
+
+
+ private:
+ Controller& controller;
+ EncoderCounter& counterLeft;
+ EncoderCounter& counterRight;
+
+ //Variablen die in der Klasse Fahren verwendet werden
+ double speedRight;
+ double speedLeft;
+ short initialClicksLeft;
+ short initialClicksRight;
+ short wegLinks;
+ short wegRechts;
+ short stopRight;
+ short stopLeft;
+
+
+};
+#endif
\ No newline at end of file