public class GPIOPWMSimulator extends GPIOPWMOutput
gpioNumber, pinType| Modifier | Constructor and Description |
|---|---|
protected |
GPIOPWMSimulator(int gpio_number)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Returns the last value we set this to
|
void |
setValue(int value)
Sets the Output State
|
getOutputPin, getPwmRange, setPwmRangeclearPinAssignment, getGpioNumber, resetAllGPIO, resetGpioListenersprotected GPIOPWMSimulator(int gpio_number)
gpio_number - the GPIO pin numberpublic void setValue(int value)
GPIOPWMOutputsetValue in class GPIOPWMOutputvalue - the PWM value to set output topublic int getValue()
GPIOPWMOutputgetValue in class GPIOPWMOutput