Hello community,
I'm programing a basic robot arm, and in my embed file i used 2 external library is AccelStepper and Servo. My file is attached in this post.
My problem is:
1. When i set 1 for Enable Excecution compound Manual, i can control 2 stepper motor with button but only few second.
2. I was setup angle for 2 servo using myservo[0].write($1) and myservo[1].write($2) and 2 servo no responden after i upload code. I tested run single servo with example file in Example -> Embedded -> Arduino -> External Library Import -> Servo-Mega and have the same problem.
3. In compound Auto, i get angle for motor with compound GetEmlementMatrix. But when i upload code seem like all motor don't responden.
Ps: When i test Auto or Manual mode, i set Enbale Excecution for compound to 1.