begin()
Description
Sets and enables the AIServoPort.
Syntax
bus.begin(HardwareSerial, Baudrate)
Parameters
bus
: A variable of type AIServoPort
.
HardwareSerial
: The port to communicate with the servo. For example: Serial1, Serial485.
Baudrate
: The baud rate used for communication. For example: 115200, 1000000.
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
See also
Library Reference Home
The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.