Class PwmPinInfo

java.lang.Object
com.diozero.api.PinInfo
com.diozero.api.PwmPinInfo

public class PwmPinInfo
extends PinInfo
Describe the various attributes of an individual General-Purpose Input/Output (GPIO) pin used for Pulse Width Modulation (PWM) output.
  • Constructor Details

    • PwmPinInfo

      public PwmPinInfo​(String keyPrefix, String header, int gpioNumber, int pinNumber, int pwmNum, String name, Collection<DeviceMode> modes, int sysFsNumber, int chip, int line)
  • Method Details

    • getPwmNum

      public int getPwmNum()