mirror of
https://gitlab.com/fabinfra/fabhardware/absaugungsklappensteuerung.git
synced 2025-03-12 23:01:52 +01:00
62 lines
590 B
C++
62 lines
590 B
C++
#include "KlappenSteuerung.h"
|
|
|
|
|
|
// Constructors/Destructors
|
|
//
|
|
|
|
|
|
/**
|
|
* @param pinA
|
|
* @param pinB
|
|
* @param pinPwm
|
|
* @param pinSense
|
|
* @param id
|
|
*/
|
|
KlappenSteuerung::KlappenSteuerung(int pinA, int pinB, int pinSense, int id)
|
|
{
|
|
setMotorPins(pinA , pinB);
|
|
SetId(id);
|
|
this->pinSense = pinSense;
|
|
|
|
|
|
}
|
|
|
|
KlappenSteuerung::~KlappenSteuerung()
|
|
{
|
|
}
|
|
|
|
void KlappenSteuerung::setupStatic(){
|
|
AnalogDigital::setupStatic();
|
|
}
|
|
|
|
//
|
|
// Methods
|
|
//
|
|
|
|
|
|
// Accessor methods
|
|
//
|
|
|
|
|
|
// Other methods
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
* @param open
|
|
*/
|
|
void KlappenSteuerung::setOpen(bool open)
|
|
{
|
|
}
|
|
|
|
|
|
|