Ok, I had a look at the documentation.
It totally exceeds my knowledge for PWM… but I give it a try.
Since I use a servo, I probably have to use this code:
public class Program
public static void Main()
PWM MyServo = new PWM(Cpu.PWMChannel.PWM_3, 2175, 175, PWM.ScaleFactor.Microseconds, false);
// 0 degrees. 20ms period and 1.25ms high pulse
MyServo.Duration = 1250;
MyServo.Period = 20000;
But how does my FEZ Reaper know, that the servo is connected on Socket_7 Pin_7 ?
Additional does my programm not know this … command
And what is the difference to this kind of PWM use?
I’m really thankful for all your help.
It’s very imprtant to me to get this servo running :3
Ok… I noticed that the documentation is not correct
Pin 7: Motor A Speed (PWM) … Pin_7 is Motor B
The servo is doing something now… but he’s more or less just running into a end position
Could this have to do something with the mentioned frequency?
Servos expect a pulse every 20ms to 30msstrong text