Yosuke Kirihata / Mbed 2 deprecated Nucleo_CaitSith_Firmware_added_delayServo

Dependencies:   mbed

Fork of Nucleo_CaitSith_Firmware by Yosuke Kirihata

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers RobotArm.h Source File

RobotArm.h

00001 #ifndef __ROBOTARM_H__
00002 #define __ROBOTARM_H__
00003 
00004 #include <mbed.h>
00005 #include <PwmServo.h>
00006 
00007 class RobotArm {
00008     public:
00009         RobotArm(PinName pin1,PinName pin2);
00010         ~RobotArm();
00011         void actuate(int angle1,int angle2);
00012         
00013     private:
00014         PwmServo* mPwmServo[2];
00015 };
00016 
00017 #endif /* __ROBOTARM_H__ */