Matti Borchers / Mbed 2 deprecated mbed_amf_controlsystem_iO_copy

Dependencies:   mbed-rtos mbed

Fork of mbed_amf_controlsystem_iO_copy by Oliver Wenzel

Revision:
17:76636aaf80de
diff -r a387f2e275c8 -r 76636aaf80de Modus/Parking.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Modus/Parking.h	Mon Feb 08 14:56:34 2016 +0000
@@ -0,0 +1,22 @@
+#ifndef PARKING_THREAD_H
+#define PARKING_THREAD_H
+
+#include <mbed.h>
+#include <I2C.h>
+#include "rtos.h"
+
+/*
+ * Necessary for strcut sizes
+ */
+#pragma pack (1)
+
+class Parking{
+public:
+    static DigitalIn redlight(p16);
+    static int lightimpulseCounter;
+    static int getDistance();
+    static void parking_thread(void const *args);
+    static void increaseLightimpulseCounter();
+};
+
+#endif
\ No newline at end of file