public abstract class GPIOPWMOutput extends GPIO
gpioNumber, pinType
Modifier | Constructor and Description |
---|---|
protected |
GPIOPWMOutput(int gpio_number)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static GPIOPWMOutput |
getOutputPin(int gpio_number)
Get a GPIO input pin.
|
static int |
getPwmRange() |
abstract int |
getValue()
Returns the last value we set this to
|
static void |
setPwmRange(int pwmRange) |
abstract void |
setValue(int value)
Sets the Output State
|
clearPinAssignment, getGpioNumber, resetAllGPIO, resetGpioListeners
protected GPIOPWMOutput(int gpio_number)
gpio_number
- the GPIO pin numberpublic static int getPwmRange()
public static void setPwmRange(int pwmRange)
public abstract void setValue(int value)
value
- the PWM value to set output topublic abstract int getValue()
public static GPIOPWMOutput getOutputPin(int gpio_number)
gpio_number
- the Pin Number