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.cpp
- Revision:
- 6:62bf0f21b8d6
- Parent:
- 4:d88f498d259b
- Child:
- 7:04d294709f7a
--- a/XBusServo.cpp Wed Oct 08 05:36:29 2014 +0000 +++ b/XBusServo.cpp Wed Oct 08 05:47:05 2014 +0000 @@ -60,21 +60,21 @@ #endif +/****************************************************************************/ +/** + 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. + (limit 50) + this does just to resetve the buffer. you need to + add XBus servo at the beginning of your sketch -/** **************************************************************************** -// XBusServo::XBusServo -// @returns : none -// @param : tx pin name for tx -// rx pin name for rx -// maxServoNum max number of servo that you want to connect. -// (limit 50) -// this does just to resetve the buffer. you need to -// add XBus servo at the beginning of your sketch -// -// Constructor -// 2014/09/02 : move from Arduino lib by Sawa -//**************************************************************************** -*/ + @bref Constructor + + @note 2014/09/02 : move from Arduino lib by Sawa +*****************************************************************************/ XBusServo::XBusServo(PinName tx, PinName rx, uint8_t maxServoNum) : XBusPort(tx, rx) {