ServoESP32
ServoESP32 copied to clipboard
Fix implementation of the selecting and releasing the channels in attach() and detach()
Not very good implementation of the selecting and releasing the channels for the ledcSetup()
function:
https://github.com/RoboticsBrno/ESP32-Arduino-Servo-Library/blob/master/src/Servo.cpp#L49
Tip: implement by std:bitset to remember used channels.