共用方式為


ArduinoBoard.CreateSimplePwmChannel(Int32, Int32, Int32, Double) 方法

定義

建立 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

以分數表示的工作週期。

傳回

適用於