Heres some code Ive edited so I can speed up firing up arduino and servos- I've annotated it for where you put your own settings in. Hopefully helpful:)
#this will turn on arduino and servo services for diagnostics
from org.myrobotlab.service import Arduino
from org.myrobotlab.service import Servo
from org.myrobotlab.service import Runtime
from time import sleep
# create the services
#/set up your services-arduino and here are 3 services-delete or add as applicable
some code
Heres some code Ive edited so I can speed up firing up arduino and servos- I've annotated it for where you put your own settings in. Hopefully helpful:)