Considering: [ //Convert the servo pulse length into timer ticks. //Each timer tick is 8 microseconds. int16_t newLengthInClockTicks = newLengthInMicroseconds / 8; //subtract the pulse offset newLengthInClockTicks -= 64;](https://github.com/fri000/Servo8Bit/blob/b13604e01463a6bf0f432d1ada2ed6daea0c5ad5/Servo8Bit.cpp#L271C1-L275C36) uint16_t ServoSequencer::getServoPulseLength(uint8_t servoNumber) is calculated as [pulseLength = (servoRegistry[servoNumber].pulseLengthInTicks * 8) + 64;](https://github.com/fri000/Servo8Bit/blob/b13604e01463a6bf0f432d1ada2ed6daea0c5ad5/Servo8Bit.cpp#L315C9-L315C79) Shouldn't it be pulseLength = (servoRegistry[servoNumber].pulseLengthInTicks + 64) * 8; ?
Considering:
//Convert the servo pulse length into timer ticks.
//Each timer tick is 8 microseconds.
int16_t newLengthInClockTicks = newLengthInMicroseconds / 8;
//subtract the pulse offset
newLengthInClockTicks -= 64;
uint16_t ServoSequencer::getServoPulseLength(uint8_t servoNumber)
is calculated as
pulseLength = (servoRegistry[servoNumber].pulseLengthInTicks * 8) + 64;
Shouldn't it be
pulseLength = (servoRegistry[servoNumber].pulseLengthInTicks + 64) * 8; ?