ArduinoBoard.CreateSimplePwmChannel(Int32, Int32, Int32, Double) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 PWM 通道。
protected override System.Device.Pwm.PwmChannel CreateSimplePwmChannel(int chip, int channel, int frequency, double dutyCyclePercentage);
override this.CreateSimplePwmChannel : int * int * int * double -> System.Device.Pwm.PwmChannel
Protected Overrides Function CreateSimplePwmChannel (chip As Integer, channel As Integer, frequency As Integer, dutyCyclePercentage As Double) As PwmChannel
參數
- chip
- Int32
必須是 0。
- channel
- Int32
要使用的釘選編號
- frequency
- Int32
忽略此值
- dutyCyclePercentage
- Double
以分數表示的工作週期。