Is the setting of the alternate functions: https://github.com/Ell-i/Arduino/blob/ell-i/hardware/ell-i/stm32/variants/ellduino_stm32f051/stm32f051_init.c#L321 Serial sets them in begin routine, but there is not initialization part for analogWrite. The timer is activated, but it can't access the pins. With Warm Regards, Ivan Raul On Wed, Jan 29, 2014 at 9:14 PM, Pekka Nikander <pekka.nikander@xxxxxx>wrote: > > I have created the pull request for the initial fix to the > initialization. I have tested the system with those specific changes. > > Merged manually after a simple manual fix. (Extra spaces at the end of > one line.) > > > To really make the PWM work, still the GPIO alternate functions need to > be initialized, do I work on that in parallel with the Serial testing? > > Please remind me what this was about? > > --Pekka > > >