added startup offset to establish a baseline duty cycle at which the motor starts to spin
This commit is contained in:
1 parent
1334f9c540
commit
cdb68b84da
6 files changed
+251
-196
No files matched your search
@@ -17,9 +17,11 @@
|
||||
#define C3 -1.000062393830345e-08f
|
||||
#define C4 1.15408454807169e-12f
|
||||
|
||||
void adjust_pwm_level(uint16_t level);
|
||||
uint16_t calc_end_target();
|
||||
bool speed_helper();
|
||||
float measure();
|
||||
void init_pid();
|
||||
void init_pwm(uint gpio);
|
||||
void print_cv_array(const uint8_t *buf, size_t len);
|
||||
void init_pwm_core1(uint gpio);
|
||||
bool pid_control(struct repeating_timer *t);
|
||||
void set_pid_params(float v);
|
||||
void print_cv_array(const uint8_t *buf, size_t len);
|
||||
Reference in new issue
Block a user