UFServo.h
Go to the documentation of this file.
40 write() - Sets the servo angle in degrees. (invalid angle that is valid as pulse in microseconds is treated as microseconds)
43 readMicroseconds() - Gets the last written servo pulse width in microseconds. (was read_us() in first release)
98 uint8_t attach(int pin); // attach the given pin to the next free channel, sets pinMode, returns channel number or 0 if failure
99 uint8_t attach(int pin, int min, int max); // as above but also sets min and max values for writes.
101 void write(float value); // if value is < 200 its treated as an angle, otherwise as pulse width in microseconds
104 int readMicroseconds(); // returns current pulse width in microseconds for this servo (was read_us() in first release)
int read()
void detach()
void writeMicroseconds(int value)
Servo()
int readMicroseconds()
void write(float value)
Definition: UFServo.h:89
Definition: UFServo.h:84
bool attached()
Definition: UFServo.h:94
uint8_t attach(int pin)