Library for XBus servo (under construction)
Dependents: mbed_XBus_Test mbed_XBus_MotionTest XBusServoTest ControlYokutan2017_2 ... more
It's pre-opened page. it's still a little bit unstable to use command packet but mostly work. Tested only on KL25Z
暫定版ページです。 まだコマンドパケット使用時に時々不安定になりますが、概ね動作しています。 KL25Z上でのみ、動作確認しています
Diff: XBusServo.h
- Revision:
- 9:9248ea2cb4b5
- Parent:
- 8:66fb48d08e97
- Child:
- 10:0cf9b0f582fb
diff -r 66fb48d08e97 -r 9248ea2cb4b5 XBusServo.h --- a/XBusServo.h Wed Oct 08 05:55:09 2014 +0000 +++ b/XBusServo.h Wed Oct 08 05:58:09 2014 +0000 @@ -99,17 +99,14 @@ } XBusError; -/** XBusServo +/** @bref Library class for XBus servo @note 2014/09/02 : move from Arduino lib by Sawa */ class XBusServo // : private RawSerial { public: -/****************************************************************************/ /** - XBusServo::XBusServo - @param tx pin name for tx @param rx pin name for rx @param maxServoNum max number of servo that you want to connect. @@ -120,7 +117,7 @@ @bref Constructor @note 2014/09/02 : move from Arduino lib by Sawa -*****************************************************************************/ +*/ XBusServo(PinName tx, PinName rx, uint8_t maxServoNum); public: