I've tried the mcpwm_servo_control example in the IDE but can't get it to compile, for instance I get an error
- MCPWM_TIMER_CLK_SRC_DEFAULT undeclared
Code: Select all
#include "driver/mcpwm_prelude.h"
Two questions.
- Is it possible to implement a PWM servo control with the S2?(This page suggests that PWM is supported https://docs.espressif.com/projects/esp ... -1-v1.html)
- If it is, can anyone point me at an example that I can test and then use to develop my own application?