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:
- 13:5e2aa53353a8
- Parent:
- 7:04d294709f7a
- Child:
- 16:e283810b53c3
diff -r 0e9d5941fc22 -r 5e2aa53353a8 XBusServo.cpp --- a/XBusServo.cpp Wed Oct 08 06:08:44 2014 +0000 +++ b/XBusServo.cpp Wed Oct 08 07:18:27 2014 +0000 @@ -489,7 +489,7 @@ // value value of this XBus servo // use kXbusServoNeutral for center of the XBus servo // -// remove the servo from the buffer on this library +// set new angle to the servo // 2014/09/02 : move from Arduino lib by Sawa //**************************************************************************** XBusError XBusServo::setServo(uint8_t channelID, uint16_t value) @@ -668,7 +668,7 @@ // XBusServo::setCommand // return : error code // parameter : order the order that you want -// value the value that you want to set and return current value +// value the value that you want to set current value // // send set command to the XBus servo // this is only for TX only mode