Arduio Scripts?

I am looking at the 6 channel mininservo controller.
My question is can I call “scripts” from the arduino library.

For example, I want to create a script called “blink” that will move a servo from open, to closed, pause, and open again, so I can call “blink” and not have to worry about another arduino routine blocking the servo movement.

Hello.

I moved your post to the “Servo controllers and servos” section of the forum since it is about the Maestro.

You can have a script loaded onto your Maestro with various subroutines containing the sequences you want to call, then use the “Restart Script at Subroutine” command to trigger those subroutines from an Arduino. You can find more information about this command as well as additional commands for controlling scripts in the “Serial Script Commands” section of the Maestro user’s guide.

I recommend looking through the “Script.ino” example from our Arduino library, which has an associated script in the comments along with a description of how it works.

Brandon