Class for Futaba Servo motor RS3xx series
Dependents: Hobby_Humanoid_controlor
Diff: RS300.h
- Revision:
- 2:1ab1adf0915c
- Parent:
- 0:6b230fd13b40
--- a/RS300.h Thu Sep 12 17:57:41 2013 +0000 +++ b/RS300.h Wed Sep 25 12:28:31 2013 +0000 @@ -1,3 +1,6 @@ +#ifndef _RS300_H_2013_9_10_ +#define _RS300_H_2013_9_10_ + #include "mbed.h" #include <vector> @@ -12,4 +15,6 @@ void send_packet(uint8_t adr, std::vector<uint8_t> &data, uint8_t cnt, uint8_t id = 0x00, uint8_t flag = 0x00); private: Serial serial; -}; \ No newline at end of file +}; + +#endif