Il te faut créer un script que tu lances dans le tab Python avec les services que tu veux démarrer.
Exemple:
# Create and start the Arduino service
arduino = Runtime.createAndStart(« Arduino », »Arduino »)
# Connect to the Arduino. Change COM3 to the port where the Arduino is connected
arduino.connect(« COM3 »)
# Create and Start the servo service
servo = Runtime.createAndStart(« Servo », »Servo »)
# You have to change 8 to the pin where your servo is connected
servo.attach(arduino,8)
# Center the servo
servo.setMap(0,180,10,170)
servo.setRest(90)
servo.rest()