To start using the PWM Interface, you need to configure and activate the PWM port:
For each channel that you suppose to use:
Configure PWM frequency. The higher frequency, the smoother the output signal becomes. Read PWM Frequency.
Configure the duty cycle. The level of the output signal depends on the duty cycle value. Read PWM Duty Cycle.
Enable all channels that you suppose to use. All channels are equal, but every channel can have specific parameters (frequency and duty cycle). Read PWM Channels.
Enable the PWM port. When the PWM port is enabled, you can change configuration for each channel but you cannot activate or release channels.