PWM Members

The following tables list the members exposed by the PWM type.

Public Constructors

Name Description
Public Method PWM Overloaded. Initializes a new instance of the PWM class.

Public Properties

Name Description
Public Property Duration Gets or sets the duration of the pulse. Value should be a frction of the period
Public Property DutyCycle Gets or sets the duty cycle of the pulse as a fraction of unity.
Public Property Frequency Gets or sets the frequency of the pulse.
Public Property Period Gets or sets the period of the pulse.
Public Property Pin Gets the GPIO pin for the channel.

Public Methods

Name Description
Public Method Start Overloaded. Starts the PWM port.
Public Method Stop Overloaded. Stops the PWM port.

Protected Methods

Name Description
Protected Method Finalize Stops the port, if running, and releases the resources before being reclaimed by the garbage collector.

See Also

Reference

PWM Class
Microsoft.SPOT.Hardware Namespace