TeensyPwm/pwm.h

19 lines
274 B
C
Raw Normal View History

2015-02-15 00:26:54 +01:00
#ifndef PWM_H_
#define PWM_H_
2015-02-15 18:27:54 +01:00
#include "control.h"
2015-02-15 00:26:54 +01:00
void pwmInit();
float getDutyCycle();
float getUCur();
float getUDes();
void setUDes(float uDes);
2015-02-15 18:27:54 +01:00
float getP();
void setP(float p);
float getI();
void setI(float i);
float getD();
void setD(float d);
2015-02-15 00:26:54 +01:00
#endif /* PWM_H_ */