mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-04-26 13:48:49 +08:00
43 lines
418 B
Markdown
43 lines
418 B
Markdown
# Functions
|
|
|
|
## Move(angle uint8)
|
|
|
|
Moves the servo to the specified angle, angle must be an integer value between 0 and 180.
|
|
|
|
#### Params
|
|
|
|
- **angle** - **uint8**
|
|
|
|
#### Returns
|
|
|
|
- **angle** - angle value
|
|
|
|
#### API Command
|
|
|
|
**MoveC**
|
|
|
|
## Min
|
|
|
|
Moves the servo to 0.
|
|
|
|
#### API Command
|
|
|
|
**MinC**
|
|
|
|
## Center
|
|
|
|
Moves the servo to 90
|
|
|
|
#### API Command
|
|
|
|
**CenterC**
|
|
|
|
## Max
|
|
|
|
Moves the servo to 180
|
|
|
|
#### API Command
|
|
|
|
**MaxC**
|
|
|