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上でのみ、動作確認しています

Revision:
2:4aca5ffce457
Parent:
1:bd80d3e8f3a3
Child:
3:9a10ad81d04e
diff -r bd80d3e8f3a3 -r 4aca5ffce457 XBusServo.h
--- a/XBusServo.h	Wed Oct 08 01:59:16 2014 +0000
+++ b/XBusServo.h	Wed Oct 08 02:24:31 2014 +0000
@@ -1,4 +1,5 @@
-/* XBusServo.h file
+/** @file 
+ * XBusServo.h file
  *
  * for mbed
  *
@@ -101,9 +102,21 @@
 
 
 
-class XBusServo // : private RawSerial             //, private DigitalInOut
+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
+
+    @bref               Constructor
+    
+    2014/09/02 : move from Arduino lib by Sawa
+*/
     XBusServo(PinName tx, PinName rx, uint8_t maxServoNum);
 
 public: