ServoESP32 icon indicating copy to clipboard operation
ServoESP32 copied to clipboard

Fix implementation of the selecting and releasing the channels in attach() and detach()

Open JarekParal opened this issue 6 years ago • 0 comments

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.

JarekParal avatar Apr 16 '18 18:04 JarekParal