SoftwarePwmChannel 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
軟體 PWM 通道實作
public class SoftwarePwmChannel : System.Device.Pwm.PwmChannel
type SoftwarePwmChannel = class
inherit PwmChannel
Public Class SoftwarePwmChannel
Inherits PwmChannel
- 繼承
建構函式
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 通道。 |