Script for 6 channel maestro

Good day

I am struggling to write a script for my project. I am using a Micro Maestro 6-Channel USB Servo Controller.

What I want is: When I press a switch, I want an LED to come on and the servo to move approximately 95 degrees. When I press the switch again, I want the LED to turn off and the servo to return to its original position.

Can someone please provide a script for me.

Thank you in advance for your assistance.

Blayne

Please guys I’ve read the user manual but I just cant understand what to do. I think its a pretty easy script, anybody have anything similar to help me out??

Hi, Blayne.

We have an example script in the Maestro user’s guide that uses a switch to do something similar. You can find the example under “Using an analog input to control servos”.

-Derrill

Thanks Derrill

I am however still struggling, call me technologically challenged, but trying to learn.

If anyone can help, it would be greatly appreciated.

I get the impression that you haven’t actually tried to write and use a script.

If you have and it didn’t work, why not show us the script, tell us what you think it should do, and what it did instead.

This is a hobby. You learn by trying things and making mistakes.