Compartir a través de


ArduinoBoard.CreateSimplePwmChannel(Int32, Int32, Int32, Double) Método

Definición

Crea un canal 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

Parámetros

chip
Int32

Debe ser 0.

channel
Int32

Anclar número que se va a usar

frequency
Int32

Este valor se omite

dutyCyclePercentage
Double

Ciclo de servicio como una fracción.

Devoluciones

Se aplica a