Property | Type | Description | |
---|---|---|---|
PwmPulsed | EventHandler |
Method | Description | |
---|---|---|
Dispose ( ) : void |
Stops the SoftPwm if active and calls Dispose on the GPIO pin.
|
|
SoftPwm ( Windows.Devices.Gpio.GpioPin pin ) : System |
Creates an instance of SoftPwm given an instance of Windows.Devices.Gpio.GpioPin.
|
|
StartAsync ( ) : void |
Start the SoftPwm in the GPIO pin.
|
|
StopAsync ( ) : Task |
Stop the SoftPwm on the GPIO pin.
|
Method | Description | |
---|---|---|
OnPulseWidthChanged ( double highPulseWidth, double lowPulseWidth ) : void |
Called to raise the PulseWidthChanged event.
|
|
OnPwmPulsed ( ) : void |
Called to raise the PwmPulsed event
|
Method | Description | |
---|---|---|
CheckDisposed ( ) : void |
Checks if this instance has been disposed and throws the ObjectDisposedException exception if it is.
|
|
DelayMicroSeconds ( double delayMicroseconds ) : Task |
Delays the current thread by the given number of μs.
|
protected OnPulseWidthChanged ( double highPulseWidth, double lowPulseWidth ) : void | ||
highPulseWidth | double | |
lowPulseWidth | double | |
return | void |
public SoftPwm ( Windows.Devices.Gpio.GpioPin pin ) : System | ||
pin | Windows.Devices.Gpio.GpioPin | An instance of Windows.Devices.Gpio.GpioPin to create the SoftPwm on. |
return | System |