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:
- 2:4aca5ffce457
- Parent:
- 1:bd80d3e8f3a3
- Child:
- 4:d88f498d259b
- Child:
- 15:7d2c82dc31dc
--- a/XBusServo.cpp Wed Oct 08 01:59:16 2014 +0000 +++ b/XBusServo.cpp Wed Oct 08 02:24:31 2014 +0000 @@ -1,4 +1,5 @@ -/* XBusServo.cpp file +/** @file + * XBusServo.cpp file * * for mbed * @@ -62,12 +63,12 @@ -//**************************************************************************** +/** **************************************************************************** // XBusServo::XBusServo -// return : none -// parameter : tx pin name for tx -// rx pin name for rx -// maxServoNum max number of servo that you want to connect. +// @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 @@ -75,6 +76,7 @@ // Constructor // 2014/09/02 : move from Arduino lib by Sawa //**************************************************************************** +*/ XBusServo::XBusServo(PinName tx, PinName rx, uint8_t maxServoNum) : XBusPort(tx, rx) {