Dependents:   Serialservo_01 nhk_2018_undercarry_test08 nhk_2018_undercarry_test09 nhk_2018_undercarry_test10 ... more

Revision:
1:4caf52a715c2
Parent:
0:2d468b5749f9
Child:
2:da6abd6afe26
--- a/Serialservo.h	Sun Mar 18 06:38:05 2018 +0000
+++ b/Serialservo.h	Mon Nov 05 09:09:16 2018 +0000
@@ -6,8 +6,11 @@
 class Serialservo{
 public  :    
     Serialservo(PinName TX, PinName RX);
-    void init(char id);
-    void move(int value);
+    void init();
+    void move(char id,int value);//0~270
+    void stretch(char id,int value);//0~127
+    void speed(char id,int value);//0~127
+    
 private :
     Serial ser;
     unsigned char servoval;