what I am doing wrong that compilation of simple example 01 from library gives this output
board selected Lolin S2 Mini
but the same output is for DOIT ESP32 DEVKIT V1
`
In file included from C:\Users\pacraf\AppData\Local\Temp.arduinoIDE-unsaved202451-11032-5pwygg.ob7hq\01-SimpleServo\01-SimpleServo.ino:1:
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h: In member function 'bool ServoTemplate::attach(int, int, T, T, int, int, int)':
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:142:9: error: there are no arguments to 'ledcSetup' that depend on a template parameter, so a declaration of 'ledcSetup' must be available [-fpermissive]
142 | ledcSetup(_channel, frequency, TIMER_RESOLUTION);
| ^~~~~
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:142:9: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:143:9: error: there are no arguments to 'ledcAttachPin' that depend on a template parameter, so a declaration of 'ledcAttachPin' must be available [-fpermissive]
143 | ledcAttachPin(_pin, _channel);
| ^~~~~
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h: In member function 'bool ServoTemplate::detach()':
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:162:9: error: there are no arguments to 'ledcDetachPin' that depend on a template parameter, so a declaration of 'ledcDetachPin' must be available [-fpermissive]
162 | ledcDetachPin(_pin);
| ^~~~~
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h: In instantiation of 'bool ServoTemplate::attach(int, int, T, T, int, int, int) [with T = int]':
C:\Users\pacraf\AppData\Local\Temp.arduinoIDE-unsaved202451-11032-5pwygg.ob7hq\01-SimpleServo\01-SimpleServo.ino:9:18: required from here
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:142:18: error: 'ledcSetup' was not declared in this scope
142 | ledcSetup(_channel, frequency, TIMER_RESOLUTION);
| ~~~^~~~~~~~~
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:143:22: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
143 | ledcAttachPin(_pin, _channel);
| ~~~^~~~~~
| ledcAttach
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h: In instantiation of 'bool ServoTemplate::detach() [with T = int]':
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:82:24: required from 'ServoTemplate::~ServoTemplate() [with T = int]'
C:\Users\pacraf\AppData\Local\Temp.arduinoIDE-unsaved202451-11032-5pwygg.ob7hq\01-SimpleServo\01-SimpleServo.ino:5:7: required from here
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:162:22: error: 'ledcDetachPin' was not declared in this scope; did you mean 'ledcDetach'?
162 | ledcDetachPin(_pin);
| ~~~^~~~
| ledcDetach
Multiple libraries were found for "Servo.h"
Used: C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix
Not used: C:\Users\pacraf\AppData\Local\Arduino15\libraries\Servo
exit status 1
what I am doing wrong that compilation of simple example 01 from library gives this output board selected Lolin S2 Mini but the same output is for DOIT ESP32 DEVKIT V1
` In file included from C:\Users\pacraf\AppData\Local\Temp.arduinoIDE-unsaved202451-11032-5pwygg.ob7hq\01-SimpleServo\01-SimpleServo.ino:1: C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h: In member function 'bool ServoTemplate::attach(int, int, T, T, int, int, int)':
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:142:9: error: there are no arguments to 'ledcSetup' that depend on a template parameter, so a declaration of 'ledcSetup' must be available [-fpermissive]
142 | ledcSetup(_channel, frequency, TIMER_RESOLUTION);
| ^::detach()':
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:162:9: error: there are no arguments to 'ledcDetachPin' that depend on a template parameter, so a declaration of 'ledcDetachPin' must be available [-fpermissive]
162 | ledcDetachPin(_pin);
| ^::attach(int, int, T, T, int, int, int) [with T = int]':
C:\Users\pacraf\AppData\Local\Temp.arduinoIDE-unsaved202451-11032-5pwygg.ob7hq\01-SimpleServo\01-SimpleServo.ino:9:18: required from here
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:142:18: error: 'ledcSetup' was not declared in this scope
142 | ledcSetup(_channel, frequency, TIMER_RESOLUTION);
| ::detach() [with T = int]':
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:82:24: required from 'ServoTemplate::~ServoTemplate() [with T = int]'
C:\Users\pacraf\AppData\Local\Temp.arduinoIDE-unsaved202451-11032-5pwygg.ob7hq\01-SimpleServo\01-SimpleServo.ino:5:7: required from here
C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:162:22: error: 'ledcDetachPin' was not declared in this scope; did you mean 'ledcDetach'?
162 | ledcDetachPin(_pin);
|
~~~~ C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:142:9: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:143:9: error: there are no arguments to 'ledcAttachPin' that depend on a template parameter, so a declaration of 'ledcAttachPin' must be available [-fpermissive] 143 | ledcAttachPin(_pin, _channel); | ^~~~~ C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h: In member function 'bool ServoTemplate~~~~ C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h: In instantiation of 'bool ServoTemplate~~~^~~~~~~~~ C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h:143:22: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'? 143 | ledcAttachPin(_pin, _channel); |~~~^~~~~~ | ledcAttach C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix\src/Servo.h: In instantiation of 'bool ServoTemplate~~~^~~~ | ledcDetach Multiple libraries were found for "Servo.h" Used: C:\Users\pacraf\Documents\Arduino\libraries\ServoESP32Fix Not used: C:\Users\pacraf\AppData\Local\Arduino15\libraries\Servo exit status 1Compilation error: exit status 1 `