mirror of
https://gitlab.com/fabinfra/fabhardware/absaugungsklappensteuerung.git
synced 2025-03-12 23:01:52 +01:00
77 lines
837 B
C++
77 lines
837 B
C++
|
|
#ifndef KLAPPENSTEUERUNG_H
|
|
#define KLAPPENSTEUERUNG_H
|
|
|
|
|
|
/**
|
|
* class KlappenSteuerung
|
|
*
|
|
*/
|
|
|
|
class KlappenSteuerung
|
|
{
|
|
public:
|
|
// Constructors/Destructors
|
|
//
|
|
|
|
|
|
/**
|
|
* Empty Constructor
|
|
*/
|
|
KlappenSteuerung();
|
|
|
|
/**
|
|
* Empty Destructor
|
|
*/
|
|
virtual ~KlappenSteuerung();
|
|
|
|
// Static Public attributes
|
|
//
|
|
|
|
// Public attributes
|
|
//
|
|
|
|
|
|
|
|
/**
|
|
* @param pinA
|
|
* @param pinB
|
|
* @param pinPwm
|
|
* @param pinSense
|
|
*/
|
|
KlappenSteuerung(int pinA, int pinB, int pinPwm, int pinSense);
|
|
|
|
|
|
/**
|
|
*/
|
|
void setup();
|
|
|
|
|
|
/**
|
|
*/
|
|
void loop();
|
|
|
|
|
|
/**
|
|
* @param open
|
|
*/
|
|
void setOpen(bool open);
|
|
|
|
protected:
|
|
// Static Protected attributes
|
|
//
|
|
|
|
// Protected attributes
|
|
//
|
|
|
|
private:
|
|
// Static Private attributes
|
|
//
|
|
|
|
// Private attributes
|
|
//
|
|
|
|
};
|
|
|
|
#endif // KLAPPENSTEUERUNG_H
|