I been experiencing some issues with the Gadgeteer PWM code and have moved to using the netmf code directly; thanks Andre & Architect. This was easy to do on the spider as the schematic told me which PWM pin was whch.
PWM servo = new PWM(Cpu.PWMChannel.PWM_0, period, high1, PWM.ScaleFactor.Microseconds, false);
However, the Cerberus only shows if a pin is PWM capable and not which one it is. Can anyone help me identify which PWM is which so I can mograte my app from the Spider to the Cerberus please?
I see that socket 6 has PWM outputs on pins 7, 8 and 9 as does socket 5 but the schematic for the FEX Cerberus shows no PWM on sockets 4 or 2 as you suggest. Am I reading your list correctly. Should I assume therefore that if I want to use the PWM function on socket 5, pin 7 I should initialise my object as such:
PWM servo = new PWM(Cpu.PWMChannel.PWM_6, period, high1, PWM.ScaleFactor.Microseconds, false);