共用方式為


SoftwarePwmChannel 類別

定義

軟體 PWM 通道實作

public class SoftwarePwmChannel : System.Device.Pwm.PwmChannel
type SoftwarePwmChannel = class
    inherit PwmChannel
Public Class SoftwarePwmChannel
Inherits PwmChannel
繼承
SoftwarePwmChannel

建構函式

SoftwarePwmChannel(Int32, Int32, Double, Boolean, GpioController, Boolean)

初始化 SoftwarePwmChannel 類別的新執行個體。

SoftwarePwmChannel(Int32, Int32, Double, Boolean, GpioController)

軟體 PWM 通道實作

屬性

DutyCycle

工作週期百分比表示為介於 0.0 到 1.0 之間的值。

Frequency

以 hertz 為單位的頻率。

方法

Dispose()

軟體 PWM 通道實作

(繼承來源 PwmChannel)
Dispose(Boolean)

處置此實例

QueryComponentInformation()

查詢元件及其子系的相關資訊。

QueryComponentInformation()

查詢元件及其子系的相關資訊。

(繼承來源 PwmChannel)
Start()

啟動 PWM 通道。

Stop()

停止 PWM 通道。

適用於