 |
SimpleFOClibrary
2.1
|
int pwmC_l
phase C pwm pin number
int pwmA_l
phase A pwm pin number
#define _constrain(amt, low, high)
float voltage_limit
limiting voltage set to the motor
void _delay(unsigned long ms)
int enable_pin
enable pin number
float dc_c
currently set duty cycle on phaseC
float voltage_power_supply
power supply voltage
float dead_zone
a percentage of dead-time(zone) (both high and low side in low) for each pwm cycle [0,...
virtual void setPhaseState(int sa, int sb, int sc) override
#define DEF_POWER_SUPPLY
default power supply voltage
void _writeDutyCycle6PWM(float dc_a, float dc_b, float dc_c, float dead_zone, int pinA_h, int pinA_l, int pinB_h, int pinB_l, int pinC_h, int pinC_l)
void setPwm(float Ua, float Ub, float Uc) override
long pwm_frequency
pwm frequency value in hertz
float dc_a
currently set duty cycle on phaseA
BLDCDriver6PWM(int phA_h, int phA_l, int phB_h, int phB_l, int phC_h, int phC_l, int en=NOT_SET)
int _configure6PWM(long pwm_frequency, float dead_zone, const int pinA_h, const int pinA_l, const int pinB_h, const int pinB_l, const int pinC_h, const int pinC_l)
float dc_b
currently set duty cycle on phaseB
int pwmB_l
phase B pwm pin number