Class SoftwarePwmOutputDevice

java.lang.Object
com.diozero.internal.spi.AbstractDevice
com.diozero.internal.SoftwarePwmOutputDevice
All Implemented Interfaces:
DeviceInterface, GpioDeviceInterface, PwmOutputDeviceInterface, Closeable, AutoCloseable, Runnable

public class SoftwarePwmOutputDevice
extends AbstractDevice
implements PwmOutputDeviceInterface, Runnable
Generate a very poor approximation of a PWM signal - use at your own risk! All timing is in milliseconds hence it is strongly recommend to use a frequency of 50Hz to minimise integer rounding errors.