EduIntro icon indicating copy to clipboard operation
EduIntro copied to clipboard

ServoMotor:: write did not return a value

Open WindSnowLi opened this issue 2 years ago • 0 comments

int ServoMotor::write(uint8_t _value)
{
  if (!_attached) {
    attach(pin);
    _attached = true;
    }
  Servo::write(_value);
}

Servo:: Write does not return a value, so should it also be set to void here?

WindSnowLi avatar Mar 19 '23 10:03 WindSnowLi