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:
- 3:9a10ad81d04e
- Parent:
- 2:4aca5ffce457
- Child:
- 4:d88f498d259b
--- a/XBusServo.h Wed Oct 08 02:24:31 2014 +0000 +++ b/XBusServo.h Wed Oct 08 03:25:28 2014 +0000 @@ -1,12 +1,10 @@ -/** @file - * XBusServo.h file - * - * for mbed - * - * Copyright (c) 2014-2014 JR PROPO - * Released under the MIT License: http://mbed.org/license/mit - * - * by Zak Sawa +/** + * @file XBusServo.h + * @brief this header file will contain all required + * definitions and basic utilities functions. + * @author Zak Sawa + * @note Copyright (c) 2014-2014 JR PROPO + * @note Released under the MIT License: http://mbed.org/license/mit */ #ifndef XBusServo_h @@ -105,18 +103,18 @@ 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. - (limit 50) - this does just to resetve the buffer. you need to - add XBus servo at the beginning of your sketch + /** 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 - @bref Constructor - - 2014/09/02 : move from Arduino lib by Sawa -*/ + @bref Constructor + + 2014/09/02 : move from Arduino lib by Sawa + */ XBusServo(PinName tx, PinName rx, uint8_t maxServoNum); public: