FEZ Cream and Pwm

I’m getting on FEZ Cream board with some Gadgeteer devices attached… I’m wondering how is the right procedure to use PWM on a pin from PCF9685 chip, may be anyone can clear me …


...
            this.mainboard = await GT.Module.CreateAsync<GTMB.FEZCream>();

            var socket = mainboard.GetProvidedSocket(8);      // socket 8      
            sliderPwm.Value = 50.0;
            pwm = await socket.CreatePwmOutputAsync(GT.SocketPinNumber.Nine); // need pin 9 of socket 8 Pwm
            pwm.DutyCycle = 50;  // I mean 50%, but what is the unit of duty cycle ?  
            pwm.Frequency = FREQ_PWM; //= 100.0HZ
            //pwm.Enabled = true; // <----- throw exception ....  ['System.ArgumentOutOfRangeException' in GHIElectronics.UWP.LowLevelDrivers.dll]
...

With this code nothing happen on the pin changing freq or duty.
Thanks …

@ cyberh0me - I missed it…
Thanks… I’ll check. :-[

EDIT: It works … a decimal point make the difference … ouch!