esp32-C3怎么驱动L9110S SOP-8 电机马达?
-
- Posts: 171
- Joined: Thu Sep 23, 2021 10:03 am
esp32-C3怎么驱动L9110S SOP-8 电机马达?
官网给的例程esp-idf/examples/peripherals/rmt/step_motor好像不能驱动L9110S SOP-8 电机,型号不同,是不是就不能驱动啊
-
- Posts: 290
- Joined: Wed Sep 05, 2018 6:23 am
Re: esp32-C3怎么驱动L9110S SOP-8 电机马达?
example 用的是step/dir 接口的 步进电机
-
- Posts: 171
- Joined: Thu Sep 23, 2021 10:03 am
Re: esp32-C3怎么驱动L9110S SOP-8 电机马达?
c3能用led_pwm来控制L9110S SOP-8 电机吗???
-
- Posts: 171
- Joined: Thu Sep 23, 2021 10:03 am
Re: esp32-C3怎么驱动L9110S SOP-8 电机马达?
我用例程https://github.com/espressif/esp-idf/tree/master/examples/peripherals/ledc/ledc_fade编译没通过,有些参数没定义,我把库文件添加进去,但还是报错error: implicit declaration of function 'ledc_cb_register'; did you mean 'ledc_isr_register'? [-Werror=implicit-function-declaration]
ledc_cb_register(ledc_channel[ch].speed_mode, ledc_channel[ch].channel, &callbacks, (void *) counting_sem);
ledc_cb_register(ledc_channel[ch].speed_mode, ledc_channel[ch].channel, &callbacks, (void *) counting_sem);
Who is online
Users browsing this forum: No registered users and 65 guests