SimpleFOClibrary  2.1
StepperDriver.h
Go to the documentation of this file.
1 #ifndef STEPPERDRIVER_H
2 #define STEPPERDRIVER_H
3 
5  public:
6 
8  virtual int init() = 0;
10  virtual void enable() = 0;
12  virtual void disable() = 0;
13 
16  float voltage_limit;
17 
24  virtual void setPwm(float Ua, float Ub) = 0;
25 };
26 
27 #endif
StepperDriver
Definition: StepperDriver.h:4
StepperDriver::voltage_limit
float voltage_limit
limiting voltage set to the motor
Definition: StepperDriver.h:16
StepperDriver::pwm_frequency
long pwm_frequency
pwm frequency value in hertz
Definition: StepperDriver.h:14
StepperDriver::setPwm
virtual void setPwm(float Ua, float Ub)=0
StepperDriver::disable
virtual void disable()=0
StepperDriver::enable
virtual void enable()=0
StepperDriver::voltage_power_supply
float voltage_power_supply
power supply voltage
Definition: StepperDriver.h:15
StepperDriver::init
virtual int init()=0