
#ifndef __BEWEGUNGDESMOTORS__
#define __BEWEGUNGDESMOTORS__

#ifndef ARDUINO_H
#define ARDUINO_H
#include "Arduino.h"
#endif

#ifndef _SERVO_H_
#define _SERVO_H_
#include <Servo.h>
#endif


class Bewegung: public Servo{

public:  
    Bewegung(int MotorPin);
    ~Bewegung();
    void Abfrage(float);
    int GetAktuellePos();
   
private:
    void Auf();
    void Zu();
    Servo servo1;
    int m_geschlossen;
    int m_offen;
    int m_aktuellePos;
    int m_niedrigstTemp;
    int m_hoechstTemp;
};


#endif /* defined(__BEWEGUNGDESMOTORS__) */

