Class for Futaba Servo motor RS3xx series

Dependents:   Hobby_Humanoid_controlor

Revision:
2:1ab1adf0915c
Parent:
1:64e11d4c49ae
diff -r 64e11d4c49ae -r 1ab1adf0915c RS300.cpp
--- a/RS300.cpp	Thu Sep 12 17:57:41 2013 +0000
+++ b/RS300.cpp	Wed Sep 25 12:28:31 2013 +0000
@@ -32,7 +32,7 @@
 {
     std::vector<uint8_t> dat;
     dat.push_back(0x01);
-    for (uint8_t i = 0; i < 10; ++i) send_packet(0x24, dat, 1, i);//adress, on, servo amount, id(all)
+    for (uint8_t i = 1; i < 10; ++i) send_packet(0x24, dat, 1, i);//adress, on, servo amount, id(all)
 }
 
 void RS300::off_all_servo()