You can use the example at
and be careful: use only pwm pins for the servo motor in Galileo.
There are several useful comments about servos in Galileo at
This message was posted on behalf of Intel Corporation
Yes, you can control servo motors using the PWM pins directly. The Arduino IDE has a couple of example codes about this. You can find them under File>Examples>Servo