Characteristic Locus
Namespace Meadow.Hardware
Assembly Meadow.dll

Syntax

public interface IPwmOutputController

Fields

DefaultPwmDutyCycle

Declaration
public const float DefaultPwmDutyCycle = 0.5F

Field Value

Type Description
System.Single

DefaultPwmFrequency

Declaration
public const float DefaultPwmFrequency = 100F

Field Value

Type Description
System.Single

Methods

CreatePwmPort(IPin, Single, Single, Boolean)

Declaration
IPwmPort CreatePwmPort(IPin pin, float frequency = 100F, float dutyCycle = 0.5F, bool invert = false)

Parameters

Type Name Description
IPin pin
System.Single frequency
System.Single dutyCycle
System.Boolean invert

Returns

Type Description
IPwmPort