kk

Dependents:   2-FisherMan 2-FisherMan

Fork of AX12 by Chris Styles

Revision:
4:c1835649c36f
Parent:
3:ced71d1b2558
--- a/AX12.h	Sun Apr 10 21:20:44 2011 +0000
+++ b/AX12.h	Fri May 06 07:21:41 2016 +0000
@@ -25,6 +25,7 @@
 #define MBED_AX12_H
 
 #include "mbed.h"
+#include "SerialHalfDuplex.h"
 
 //#define AX12_WRITE_DEBUG 0
 //#define AX12_READ_DEBUG 0
@@ -112,7 +113,8 @@
      */
     int SetGoal(int degrees, int flags = 0);
 
-
+    int SetSpeed(int speed);
+    
     /** Set the speed of the servo in continuous rotation mode
      *
      * @param speed, -1.0 to 1.0