63 bool use_us_driver =
true;;
64 uint32_t throttle = 1000;
75 esc_out[
i].
write((
float)(throttle - 1000) / 1000.0);
83 use_us_driver = !use_us_driver;
volatile uint32_t millis(void)
void init(GPIO_TypeDef *gpio_port, uint16_t pin)
void writeUs(uint16_t value)
const pwm_hardware_struct_t pwm_config[PWM_NUM_CHANNELS]
void init(const pwm_hardware_struct_t *pwm_init, uint16_t frequency, uint32_t max_us, uint32_t min_us)