Matti Borchers / Mbed 2 deprecated mbed_amf_controlsystem_iO_copy

Dependencies:   mbed-rtos mbed

Fork of mbed_amf_controlsystem_iO_copy by Oliver Wenzel

Committer:
mborchers
Date:
Mon Feb 08 14:56:34 2016 +0000
Revision:
17:76636aaf80de
Parken implementiert (nicht lauff?hig)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mborchers 17:76636aaf80de 1 #ifndef PARKING_THREAD_H
mborchers 17:76636aaf80de 2 #define PARKING_THREAD_H
mborchers 17:76636aaf80de 3
mborchers 17:76636aaf80de 4 #include <mbed.h>
mborchers 17:76636aaf80de 5 #include <I2C.h>
mborchers 17:76636aaf80de 6 #include "rtos.h"
mborchers 17:76636aaf80de 7
mborchers 17:76636aaf80de 8 /*
mborchers 17:76636aaf80de 9 * Necessary for strcut sizes
mborchers 17:76636aaf80de 10 */
mborchers 17:76636aaf80de 11 #pragma pack (1)
mborchers 17:76636aaf80de 12
mborchers 17:76636aaf80de 13 class Parking{
mborchers 17:76636aaf80de 14 public:
mborchers 17:76636aaf80de 15 static DigitalIn redlight(p16);
mborchers 17:76636aaf80de 16 static int lightimpulseCounter;
mborchers 17:76636aaf80de 17 static int getDistance();
mborchers 17:76636aaf80de 18 static void parking_thread(void const *args);
mborchers 17:76636aaf80de 19 static void increaseLightimpulseCounter();
mborchers 17:76636aaf80de 20 };
mborchers 17:76636aaf80de 21
mborchers 17:76636aaf80de 22 #endif