public class RaspbianGPIOPWMOutput extends GPIOPWMOutput
gpioNumber, pinType
Modifier and Type | Method and Description |
---|---|
static RaspbianGPIOPWMOutput |
createGPIO(int gpio_number) |
int |
getValue()
Returns the last value we set this to
|
void |
setValue(int value)
Sets the Output State
|
getOutputPin, getPwmRange, setPwmRange
clearPinAssignment, getGpioNumber, resetAllGPIO, resetGpioListeners
public void setValue(int value)
GPIOPWMOutput
setValue
in class GPIOPWMOutput
value
- the PWM value to set output topublic int getValue()
GPIOPWMOutput
getValue
in class GPIOPWMOutput
public static RaspbianGPIOPWMOutput createGPIO(int gpio_number)
gpio_number
- gpio_number the pin number we want to create