Cokoino / CKK0006

Cokoino mechanical arm source code for arduino
9 stars 9 forks source link

How to download the Tutorial documents

CKK0006

Cokoino mechanical arm source code

This code applies to cokoino mechanical arm
Company web site:
http://cokoino.com/
                                     ________
                         ----|servo4| 
                        |            --------
                    |servo3|   
                        |
                        |
                    |servo2|
                        |
                        |
                  ___________
                  |  servo1 |
         ____________________
         ____________________
Fanctions:
arm.servo1.read();         //read the servo of angle
arm.servo2.read();
arm.servo3.read();
arm.servo4.read();

arm.servo1.write(angle);   //servo run
arm.servo2.write(angle);
arm.servo3.write(angle);
arm.servo4.write(angle);

arm.left(speed);           //perform the action 
arm.right(speed);
arm.up(speed);
arm.down(speed);
arm.open(speed);
arm.close(speed);

arm.captureAction();              //capture the current action,return pointer array
arm.do_action(int *p,int speed);  //P is a pointer to the array

arm.JoyStickL.read_x();           //Returns joystick numerical
arm.JoyStickL.read_y();
arm.JoyStickR.read_x();
arm.JoyStickR.read_y();

Contact us: