100 Serial.println(
"This pin can not be a servo: "+String(pin)+
"\r\nServo availible on: 2,4,5,12-19,21-23,25-27,32-33");
138 else if (value > 180)
141 value = map(value, 0, 180, this->
min, this->
max);
151 if (value < this->
min)
153 else if (value > this->
max)
180 return (pulsewidthUsec);
200 if (widthDifference > 0)
204 else if (widthDifference < 0)
#define DEFAULT_TIMER_WIDTH
#define DEFAULT_PULSE_WIDTH_TICKS
void attachPin(uint8_t pin)
void write(uint32_t duty)
static bool hasPwm(int pin)
void writeMicroseconds(int value)
void setTimerWidth(int value)