added duty parameter to U-V-W pwm functions
This commit is contained in:
@@ -28,17 +28,18 @@ uint32_t read_voltage(adc_oneshot_unit_handle_t adc1_handle, int channel);
|
||||
uint32_t get_voltage_in(adc_oneshot_unit_handle_t adc1_handle);
|
||||
uint32_t get_torque(adc_oneshot_unit_handle_t adc1_handle);
|
||||
int32_t get_current_ASC712(adc_oneshot_unit_handle_t adc1_handle, int ADC_pin);
|
||||
int32_t get_current_bridge(adc_oneshot_unit_handle_t adc1_handle, int ADC_pin);
|
||||
void set_PWM_Timer();
|
||||
void set_PWM();
|
||||
void pwmStart(int PWM_CH,int Duty);
|
||||
void pwmStop(int PWM_CH);
|
||||
void pwmStopAll();
|
||||
void U_V_start();
|
||||
void V_U_start();
|
||||
void U_W_start();
|
||||
void W_U_start();
|
||||
void V_W_start();
|
||||
void W_V_start();
|
||||
void U_V_start(int duty);
|
||||
void V_U_start(int duty);
|
||||
void U_W_start(int duty);
|
||||
void W_U_start(int duty);
|
||||
void V_W_start(int duty);
|
||||
void W_V_start(int duty);
|
||||
void parse_3pins(const char *TAG, const char *pin_string, int *pins);
|
||||
SSD1306_t *configure_OLED(const char *TAG);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user