Closed ABaboshin closed 8 months ago
Use of the Servo library will conflict with the extensive timer use in dcc-ex. In particular from the servo doc.."On boards other than the Mega, use of the library disables analogWrite() (PWM) functionality on pins 9 and 10, whether or not there is a Servo on those pins." But pin 9 is used by the motor shields. We do have servo control from the io-expander but can't really use it direct in the cs except under some restricted and complex combinations of hardware that will multiply our support matrix.
@Asbelos thank you for explanation!
Analogous to servo turnouts the
PinServoTurnout
class address servo turnouts directly connected to a gpio pin of the command station.