Matti Borchers / Mbed 2 deprecated mbed_amf_controlsystem_iO_copy

Dependencies:   mbed-rtos mbed

Fork of mbed_amf_controlsystem_iO_copy by Oliver Wenzel

Modus/Parking.h

Committer:
mborchers
Date:
2016-02-08
Revision:
17:76636aaf80de

File content as of revision 17:76636aaf80de:

#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