PWM Members
The following tables list the members exposed by the PWM type.
Public Constructors
Name | Description | |
---|---|---|
PWM | Overloaded. Initializes a new instance of the PWM class. |
Public Properties
Name | Description | |
---|---|---|
Duration | Gets or sets the duration of the pulse. Value should be a frction of the period | |
DutyCycle | Gets or sets the duty cycle of the pulse as a fraction of unity. | |
Frequency | Gets or sets the frequency of the pulse. | |
Period | Gets or sets the period of the pulse. | |
Pin | Gets the GPIO pin for the channel. |
Public Methods
Name | Description | |
---|---|---|
Start | Overloaded. Starts the PWM port. | |
Stop | Overloaded. Stops the PWM port. |
Protected Methods
Name | Description | |
---|---|---|
Finalize | Stops the port, if running, and releases the resources before being reclaimed by the garbage collector. |