We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f361766 + 12d0baa commit c72fbedCopy full SHA for c72fbed
src/Servo.h
@@ -105,7 +105,7 @@ class Servo
105
{
106
public:
107
Servo();
108
- uint8_t attach(int pin); // attach the given pin to the next free channel, sets pinMode, returns channel number or 0 if failure
+ uint8_t attach(int pin); // attach the given pin to the next free channel, sets pinMode, returns channel number or INVALID_SERVO if failure
109
uint8_t attach(int pin, int min, int max); // as above but also sets min and max values for writes.
110
void detach();
111
void write(int value); // if value is < 200 its treated as an angle, otherwise as pulse width in microseconds
0 commit comments