So what you mean is that using PWM, you can’t get the intensity to change as you change the PWM parameters?
The docs you point to says what the PWM channel mapping should be:
(from Cerb family) PWM channels: The order of PWM channels is PC6,PA7,PC7,PA8,PB0,PB1,PB5,PB4,PB3,PB11,PB10,PA10,PA9,PA15, PB8, PB9
(from Cerbuino)
public class PWM
{
/// <summary>PWM Output</summary>
public const Cpu.PWMChannel D5 = (Cpu.PWMChannel)3;
/// <summary>PWM Output</summary>
public const Cpu.PWMChannel A2 = (Cpu.PWMChannel)4;
/// <summary>PWM Output</summary>
public const Cpu.PWMChannel A0 = (Cpu.PWMChannel)5;
/// <summary>PWM Output</summary>
public const Cpu.PWMChannel D11 = (Cpu.PWMChannel)6;
/// <summary>PWM Output</summary>
public const Cpu.PWMChannel D12 = (Cpu.PWMChannel)7;
/// <summary>PWM Output</summary>
public const Cpu.PWMChannel D13 = (Cpu.PWMChannel)8;
/// <summary>PWM Output</summary>
public const Cpu.PWMChannel D0 = (Cpu.PWMChannel)9;
/// <summary>PWM Output</summary>
public const Cpu.PWMChannel D1 = (Cpu.PWMChannel)10;
/// <summary>PWM Output</summary>
public const Cpu.PWMChannel D6 = (Cpu.PWMChannel)11;
/// <summary>PWM Output</summary>
public const Cpu.PWMChannel D9 = (Cpu.PWMChannel)12;
/// <summary>PWM Output</summary>
public const Cpu.PWMChannel D10 = (Cpu.PWMChannel)13;
}
And from the mainboard Socket 1:
= FEZCerb_Pins.PB5;
socket.CpuPins[8] = FEZCerb_Pins.PB4;
socket.CpuPins[9] = FEZCerb_Pins.PB3;
//P
socket.PWM7 = Cpu.PWMChannel.PWM_6;
socket.PWM8 = Cpu.PWMChannel.PWM_7;
socket.PWM9 = (Cpu.PWMChannel)8;
Mainboard Socket 3:
= FEZCerb_Pins.PB8;
socket.CpuPins[8] = FEZCerb_Pins.PA7;
socket.CpuPins[9] = FEZCerb_Pins.PB9;
// P
socket.PWM7 = (Cpu.PWMChannel)14;
socket.PWM8 = Cpu.PWMChannel.PWM_1;
socket.PWM9 = (Cpu.PWMChannel)15;
So between all of those you should have the detail you need? Also why don’t you try 50% duty cycle then the invert won’t cause you a problem if that’s actually needed (I don’t have a cerb to try any of this on) Edit: while collecting references and info Taylorza comes along and completes that task quicker than me 