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, setPwmRangeclearPinAssignment, getGpioNumber, resetAllGPIO, resetGpioListenerspublic void setValue(int value)
GPIOPWMOutputsetValue in class GPIOPWMOutputvalue - the PWM value to set output topublic int getValue()
GPIOPWMOutputgetValue in class GPIOPWMOutputpublic static RaspbianGPIOPWMOutput createGPIO(int gpio_number)
gpio_number - gpio_number the pin number we want to create