![]() |
IoT Drivers
v3.3.0 (S2022)
Engineering in Software Technology
|
Commonly used functions. Here you you will find the functions you normally will need. More...
Functions | |
void | rc_servo_setPosition (uint8_t servoNo, int8_t percent) |
Turn the RC-Servo to the specified position. More... | |
Commonly used functions. Here you you will find the functions you normally will need.
void rc_servo_setPosition | ( | uint8_t | servoNo, |
int8_t | percent | ||
) |
Turn the RC-Servo to the specified position.
Percent | Servo Position |
---|---|
-100 | Fully to the left |
0 | Middle position |
100 | Fully to the right |
Percents in between will set the servo accordantly to the percentage.
[in] | servoNo | The servo to set the position for (0:J14 (Servo#0) 1:J13 (Servo#1)) |
[in] | percent | The position to set the servo to [-100 .. 100] |