#ifndef ClosedLoopCounter_h
#define ClosedLoopCounter_h
#include "Energia.h"
#include <QuadratureCounter4X.h>
class InputPin;
class Machine;
class Axis;
class ClosedLoopCounter {
public:
ClosedLoopCounter(
StepCounter* aStepCounter,
float aAdjustmentFactor );
~ClosedLoopCounter();
StepCounter* stepCounter;
float stepped;
float adjustmentFactor;
void interpolationIsr(
Machine* machine,
Axis* axis );
};
#endif