begin()
説明
AIServoPort を設定して有効化します。
構文
bus.begin(HardwareSerial, Baudrate)
パラメータ
bus
: AIServoPort
型の変数。
HardwareSerial
: サーボと通信するポート。例: Serial1、Serial485。
Baudrate
: 通信に使用するボーレート。例: 115200, 1000000。
例
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
参照
ライブラリリファレンスホーム
86Duino リファレンス資料のテキストは、Arduino リファレンス資料 から改変されており、Creative Commons Attribution-Share Alike 3.0 License に基づいてライセンスされています。リファレンス資料内のコード例はパブリックドメインとして公開されています。